summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/gui.pro8
-rw-r--r--noncore/settings/networksettings/wlan/wlan.pro9
2 files changed, 15 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/gui/gui.pro b/noncore/net/wellenreiter/gui/gui.pro
index 93d42ed..f773cf3 100644
--- a/noncore/net/wellenreiter/gui/gui.pro
+++ b/noncore/net/wellenreiter/gui/gui.pro
@@ -2,3 +2,3 @@ DESTDIR = $(OPIEDIR)/bin
TEMPLATE = app
-CONFIG = qt warn_on
+CONFIG = qt warn_on
@@ -49 +49,7 @@ contains( platform, x11 ) {
+!isEmpty( LIBPCAP_INC_DIR ) {
+ INCLUDEPATH = $$LIBPCAP_INC_DIR $$INCLUDEPATH
+}
+!isEmpty( LIBPCAP_LIB_DIR ) {
+ LIBS = -L$$LIBPCAP_LIB_DIR $$LIBS
+}
diff --git a/noncore/settings/networksettings/wlan/wlan.pro b/noncore/settings/networksettings/wlan/wlan.pro
index c94dc0e..c04d2c0 100644
--- a/noncore/settings/networksettings/wlan/wlan.pro
+++ b/noncore/settings/networksettings/wlan/wlan.pro
@@ -1,3 +1,3 @@
TEMPLATE = lib
-CONFIG += qt plugin warn_on
+CONFIG += qt plugin warn_on
DESTDIR = $(OPIEDIR)/plugins/networksettings
@@ -25 +25,8 @@ wirelessopts {
include ( $(OPIEDIR)/include.pro )
+
+!isEmpty( LIBPCAP_INC_DIR ) {
+ INCLUDEPATH = $$LIBPCAP_INC_DIR $$INCLUDEPATH
+}
+!isEmpty( LIBPCAP_LIB_DIR ) {
+ LIBS = -L$$LIBPCAP_LIB_DIR $$LIBS
+}