From: Mark Tearle Date: Mon, 1 Dec 2014 09:46:07 +0000 (+0800) Subject: Fix Makefile to add references to sqlite3 and pthread to build on Ubuntu Trusty 14.04 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=0a6d77bfe029918f972750c6cea18d26d716ad50;p=tpg%2Fopendispense2.git Fix Makefile to add references to sqlite3 and pthread to build on Ubuntu Trusty 14.04 --- diff --git a/src/server/Makefile b/src/server/Makefile index c8b2b4a..f2ca968 100644 --- a/src/server/Makefile +++ b/src/server/Makefile @@ -11,7 +11,7 @@ BIN := ../../dispsrv OBJ := $(OBJ:%=obj/%) DEPFILES := $(OBJ:%=%.d) -LINKFLAGS := -g ../../cokebank.so -lutil -lident -lmodbus -Wl,-rpath,. -Wl,-rpath,$(INSTALLDIR) +LINKFLAGS := -g ../../cokebank.so -lutil -lident -lmodbus -lsqlite3 -lpthread -Wl,-rpath,. -Wl,-rpath,$(INSTALLDIR) CPPFLAGS := CFLAGS := -Wall -Wextra -Werror -g -std=gnu99