fix macos include error

This commit is contained in:
lxsang
2018-09-19 19:16:22 +02:00
parent 5db4e33511
commit 3739769c71
2 changed files with 61 additions and 1 deletions

View File

@@ -7,10 +7,15 @@ OBJS = $(PLUGINS_BASE)/plugin.o
PLUGINSDEP = $(OBJS) \
wvnc.o
DEP =
ifeq ($(UNAME_S),Darwin)
DEP= -I/usr/local/opt/jpeg-turbo/include -L/usr/local/opt/jpeg-turbo/lib
endif
PLUGINLIBS = libantd.$(EXT) -lvncclient -lpthread -lz# -lsqlite3
PCFLAGS=-W -Wall -g -D DEBUG $(PPF_FLAG) -D USE_ZLIB
PCFLAGS=-W -Wall -g -D DEBUG $(PPF_FLAG) $(DEP) -D USE_ZLIB
main: $(PLUGINSDEP) $(PLUGINS) #lib