summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/packagemanager/packagemanager.pro8
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/settings/packagemanager/packagemanager.pro b/noncore/settings/packagemanager/packagemanager.pro
index 8d68976..2379347 100644
--- a/noncore/settings/packagemanager/packagemanager.pro
+++ b/noncore/settings/packagemanager/packagemanager.pro
@@ -28,5 +28,5 @@ DEFINES += IPKG_LIB
DEFINES += HAVE_MKDTEMP
TARGET = packagemanager
-INCLUDEPATH += $(OPIEDIR)/include $(IPKGDIR)
+INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -lopiecore2 -lopieui2 -lipkg
@@ -34,2 +34,8 @@ LIBS += -lqpe -lopiecore2 -lopieui2 -lipkg
include ( $(OPIEDIR)/include.pro )
+!isEmpty( LIBIPK_INC_DIR ) {
+ INCLUDEPATH += $$LIBIPK_INC_DIR
+}
+!isEmpty( LIBIPK_LIB_DIR ) {
+ LIBS += -L$$LIBIPK_LIB_DIR
+}