update build files and allow compile without websocket

This commit is contained in:
Jeff Becker 2016-10-20 09:28:03 -04:00
parent 9575f70f38
commit 1a1d54387c
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
3 changed files with 13 additions and 4 deletions

View file

@ -14,6 +14,12 @@ USE_STATIC := no
USE_MESHNET := no
USE_UPNP := no
ifeq ($(WEBSOCKET),1)
NEEDED_CXXFLAGS += -DWITH_EVENTS
DAEMON_SRC += Websocket.cpp
endif
ifeq ($(UNAME),Darwin)
DAEMON_SRC += DaemonLinux.cpp
ifeq ($(HOMEBREW),1)