Fix makefile to find libwebsockets.h

This commit is contained in:
Tony Olagbaiye 2018-05-09 12:55:57 +01:00
parent 8fb1cbcc34
commit 296e9435ba

View File

@ -3,7 +3,7 @@ CXX=g++
RM=rm -f RM=rm -f
SANCFLAGS=-fsanitize=address -fsanitize=leak SANCFLAGS=-fsanitize=address -fsanitize=leak
SANLDFLAGS=-static-libasan -static-liblsan SANLDFLAGS=-static-libasan -static-liblsan
CFLAGS=$(SANCFLAGS) -fno-omit-frame-pointer -fPIC -std=gnu99 -g -Wall -Wextra -Werror-implicit-function-declaration -Wno-missing-field-initializers -Ilibwebsockets/include -Ijson-c CFLAGS=$(SANCFLAGS) -fno-omit-frame-pointer -fPIC -std=gnu99 -g -Wall -Wextra -Werror-implicit-function-declaration -Wno-missing-field-initializers -Ilibwebsockets/lib -Ijson-c
LDFLAGS=-shared -g $(SANCFLAGS) $(SANLDFLAGS) LDFLAGS=-shared -g $(SANCFLAGS) $(SANLDFLAGS)
LDLIBS=-lgnutls LDLIBS=-lgnutls