1
0
Fork 0
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:
Steffen Vogel 2015-12-04 17:35:38 +01:00
parent 6978756f8c
commit aecb2b060f

View file

@ -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