Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/Makefile')
-rw-r--r--agent/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/agent/Makefile b/agent/Makefile
index e2b2e267..251d34d6 100644
--- a/agent/Makefile
+++ b/agent/Makefile
@@ -8,6 +8,11 @@ ifdef MAKE_INC
include $(MAKE_INC)
endif
+ifdef LIBWEBSOCKETSDIR
+ OPTS += -DENABLE_LibWebSockets=1 "-I$(LIBWEBSOCKETSDIR)/include"
+ LIBS += -L $(LIBWEBSOCKETSDIR)/lib -lwebsockets -lssl
+endif
+
ifdef LUADIR
EXECS += $(BINDIR)/tcflua$(EXTEXE)
OPTS += -DPATH_LUA="$(LUADIR)" "-I$(LUADIR)/include"

Back to the top