From: Maxim Mamontov <faust.madf@gmail.com>
Date: Sun, 26 Feb 2012 12:29:12 +0000 (+0200)
Subject: Fix dependency on fbclient for mod_store_firebird.so
X-Git-Tag: 2.409~419
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/c2b2f6538f1c946c2da36cde22b43c174ea19a34?ds=sidebyside

Fix dependency on fbclient for mod_store_firebird.so
---

diff --git a/projects/stargazer/plugins/store/firebird/Makefile b/projects/stargazer/plugins/store/firebird/Makefile
index b4cce929..be9b4373 100644
--- a/projects/stargazer/plugins/store/firebird/Makefile
+++ b/projects/stargazer/plugins/store/firebird/Makefile
@@ -22,5 +22,11 @@ STGLIBS = ibpp \
 	  locker \
 	  crypto
 
+FB_CFLAGS = $(shell fb_config --cflags)
+FB_LDFLAGS = $(shell fb_config --libs)
+
+CXXFLAGS +=  $(FB_CFLAGS)
+LDFLAGS += $(FB_LDFLAGS)
+
 include ../../Makefile.in