author | ar <ar> | 2004-08-20 17:46:51 (UTC) |
---|---|---|
committer | ar <ar> | 2004-08-20 17:46:51 (UTC) |
commit | d24c046127088eb8c2af9612043aba70fae66af6 (patch) (side-by-side diff) | |
tree | b36e077f1b5f2410e49162f1d96b231253ea1a20 /libopie2/opienet/opienet.pro | |
parent | 59839a95f350cb0b48ca77e0390aee2c1a9b312b (diff) | |
download | opie-d24c046127088eb8c2af9612043aba70fae66af6.zip opie-d24c046127088eb8c2af9612043aba70fae66af6.tar.gz opie-d24c046127088eb8c2af9612043aba70fae66af6.tar.bz2 |
- add libpcap dir to lib- and include directory
Diffstat (limited to 'libopie2/opienet/opienet.pro') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opienet/opienet.pro | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libopie2/opienet/opienet.pro b/libopie2/opienet/opienet.pro index 4aef6c2..da062e4 100644 --- a/libopie2/opienet/opienet.pro +++ b/libopie2/opienet/opienet.pro @@ -1,5 +1,5 @@ TEMPLATE = lib -CONFIG += qt warn_on +CONFIG += qt warn_on DESTDIR = $(OPIEDIR)/lib HEADERS = 802_11_user.h \ dhcp.h \ @@ -29,6 +29,12 @@ LIBS += -lpcap } contains( platform, x11 ) { - LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib + LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib } +!isEmpty( LIBPCAP_INC_DIR ) { + INCLUDEPATH = $$LIBPCAP_INC_DIR $$INCLUDEPATH +} +!isEmpty( LIBPCAP_LIB_DIR ) { + LIBS = -L$$LIBPCAP_LIB_DIR $$LIBS +} |