Fix Makefile to add references to sqlite3 and pthread to build on Ubuntu Trusty 14.04
authorMark Tearle <[email protected]>
Mon, 1 Dec 2014 09:46:07 +0000 (17:46 +0800)
committerJohn Hodge <[email protected]>
Mon, 1 Dec 2014 09:46:07 +0000 (17:46 +0800)
src/server/Makefile

index c8b2b4a..f2ca968 100644 (file)
@@ -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
 

UCC git Repository :: git.ucc.asn.au