mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 15:15:28 +00:00
Added ENABLE_WEBSOCKET to Makefile
This commit is contained in:
8
Makefile
8
Makefile
@ -38,6 +38,14 @@ else
|
||||
LIBS+=glib-2.0 gobject-2.0 nice
|
||||
endif
|
||||
|
||||
ENABLE_WEBSOCKET ?= 0
|
||||
ifneq ($(ENABLE_WEBSOCKET), 0)
|
||||
CPPFLAGS+=-DENABLE_WEBSOCKET=1
|
||||
else
|
||||
CPPFLAGS+=-DENABLE_WEBSOCKET=0
|
||||
endif
|
||||
|
||||
|
||||
INCLUDES+=$(shell pkg-config --cflags $(LIBS))
|
||||
LDLIBS+=$(LOCALLIBS) $(shell pkg-config --libs $(LIBS))
|
||||
|
||||
|
Reference in New Issue
Block a user