-rw-r--r-- | Rules.make | 7 | ||||
-rw-r--r-- | include.pro | 2 | ||||
-rw-r--r-- | libopie2/opiepim/opiepim.pro | 7 |
3 files changed, 12 insertions, 4 deletions
@@ -31,3 +31,8 @@ else echo \} >> $@ -endif +endif +ifeq ($(CONFIG_SQL_PIM_BACKEND),y) + echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@ +else + echo ENABLE_SQL_PIM_BACKEND=n >> $@ +endif ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y) diff --git a/include.pro b/include.pro index c0019b0..c19e2f0 100644 --- a/include.pro +++ b/include.pro @@ -112,3 +112,3 @@ CONFIG -= plugin } -QMAKE_LIBDIR += $(OPIEDIR)/lib +LIBS += -L$(OPIEDIR)/lib diff --git a/libopie2/opiepim/opiepim.pro b/libopie2/opiepim/opiepim.pro index b341819..c328315 100644 --- a/libopie2/opiepim/opiepim.pro +++ b/libopie2/opiepim/opiepim.pro @@ -10,6 +10,6 @@ INTERFACES = TARGET = opiepim2 -VERSION = 1.8.3 +VERSION = 1.8.4 INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include -LIBS += -lopiecore2 -lopiedb2 +LIBS += -lopiecore2 @@ -19,2 +19,5 @@ include ( ui/ui.pro ) +contains( ENABLE_SQL_PIM_BACKEND, y ) + LIBS += -lopiedb2 + !contains( platform, x11 ) { |