mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
added compiler flags for libwebsockets
This commit is contained in:
parent
6978756f8c
commit
aecb2b060f
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -60,6 +60,13 @@ ifeq ($(shell pkg-config libcurl jansson uuid; echo $$?),0)
|
|||
LIB_LDLIBS += $(shell pkg-config --libs libcurl jansson uuid)
|
||||
endif
|
||||
|
||||
# Enable WebSocket support
|
||||
ifeq ($(shell pkg-config libwebsockets; echo $$?),0)
|
||||
LIB_OBJS += websocket.o
|
||||
LIB_CFLAGS += $(shell pkg-config --cflags libwebsockets)
|
||||
LIB_LDLIBS += $(shell pkg-config --libs libwebsockets)
|
||||
endif
|
||||
|
||||
# Enable OPAL-RT Asynchronous Process support (will result in 32bit binary!!!)
|
||||
ifneq (,$(wildcard $(OPALDIR)/include_target/AsyncApi.h))
|
||||
LIB_OBJS += opal.o
|
||||
|
|
Loading…
Add table
Reference in a new issue