]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/firebird/Makefile
Proper checks for libs.
[stg.git] / projects / stargazer / plugins / store / firebird / Makefile
index b14858057c343739b58f45b2d1ec26aa62a777ca..a6fb9ccd38bbf7fec708ab0dca2b99a0ae6ca07b 100644 (file)
@@ -19,11 +19,14 @@ SRCS =      ./firebird_store.cpp \
 
 STGLIBS = ibpp \
          common \
-         locker \
          logger \
          crypto
 
-LIBS = -lfbclient
+FB_CFLAGS = $(shell fb_config --cflags)
+FB_LDFLAGS = $(shell fb_config --libs)
+
+CXXFLAGS +=  $(FB_CFLAGS)
+LDFLAGS += $(FB_LDFLAGS)
 
 include ../../Makefile.in