From fa024c5b20b413a920525c29974416ea3f9e29e0 Mon Sep 17 00:00:00 2001 From: atnaguzin Date: Wed, 2 Nov 2016 18:51:43 +0300 Subject: [PATCH] fix patch --- Makefile | 1 - debian/patches/01-tune-build-opts.patch | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index d0e675c7..7dcecb26 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,6 @@ USE_STATIC := no USE_MESHNET := no USE_UPNP := no - ifeq ($(WEBSOCKETS),1) NEEDED_CXXFLAGS += -DWITH_EVENTS DAEMON_SRC += Websocket.cpp diff --git a/debian/patches/01-tune-build-opts.patch b/debian/patches/01-tune-build-opts.patch index 06ad55fa..fba12f4e 100644 --- a/debian/patches/01-tune-build-opts.patch +++ b/debian/patches/01-tune-build-opts.patch @@ -1,5 +1,5 @@ diff --git a/Makefile b/Makefile -index 7d04ba0..33ee184 100644 +index b6fc795..abc3ace 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,10 @@ DEPS := obj/make.dep @@ -11,6 +11,6 @@ index 7d04ba0..33ee184 100644 USE_STATIC := no USE_MESHNET := no USE_UPNP := no - - ifeq ($(UNAME),Darwin) - DAEMON_SRC += DaemonLinux.cpp + + ifeq ($(WEBSOCKETS),1) + NEEDED_CXXFLAGS += -DWITH_EVENTS