From 0625bd929da690aed72cdc0ee9772c9d298960c8 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 24 Apr 2004 14:45:33 +0000 Subject: fix to properly refer to dependencies --- (limited to 'noncore') 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 @@ -27,9 +27,15 @@ HEADERS = opackage.h \ DEFINES += IPKG_LIB DEFINES += HAVE_MKDTEMP TARGET = packagemanager -INCLUDEPATH += $(OPIEDIR)/include $(IPKGDIR) +INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include 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 +} -- cgit v0.9.0.2