-rw-r--r-- | include.pro | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/include.pro b/include.pro index c19e2f0..ced5c9f 100644 --- a/include.pro +++ b/include.pro @@ -101,6 +101,15 @@ CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) contains( CONFTEST, y ){ -QMAKE_LFLAGS += -Wl -LIBS -= -ldl -LIBS -= -lcrypt -LIBS -= -lm + 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 + } } |