summaryrefslogtreecommitdiff
path: root/include.pro
Side-by-side diff
Diffstat (limited to 'include.pro') (more/less context) (show whitespace changes)
-rw-r--r--include.pro9
1 files changed, 9 insertions, 0 deletions
diff --git a/include.pro b/include.pro
index c19e2f0..ced5c9f 100644
--- a/include.pro
+++ b/include.pro
@@ -103,6 +103,15 @@ QMAKE_LFLAGS += -Wl
LIBS -= -ldl
LIBS -= -lcrypt
LIBS -= -lm
+
+ # Manual including indirect referenced libraries which are not loaded
+ # by the mac-linker automatically
+ CONFTEST = $$system( echo $CONFIG_SQL_PIM_BACKEND )
+ contains( CONFTEST, y ){
+ LIBS += -lopiedb2 -lqpe
+ } else {
+ LIBS += -lqpe
+ }
}
else {
QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib