add jpeg support

This commit is contained in:
lxsang
2018-09-20 00:04:32 +02:00
parent 3739769c71
commit c81bd71534
3 changed files with 104 additions and 40 deletions

View File

@@ -13,9 +13,9 @@ 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
PLUGINLIBS = libantd.$(EXT) -lvncclient -lpthread -lz -ljpeg# -lsqlite3
PCFLAGS=-W -Wall -g -D DEBUG $(PPF_FLAG) $(DEP) -D USE_ZLIB
PCFLAGS=-W -Wall -g -D DEBUG $(PPF_FLAG) $(DEP) -D USE_JPEG #-D USE_ZLIB
main: $(PLUGINSDEP) $(PLUGINS) #lib