-rw-r--r-- | libopie2/opienet/opienet.pro | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie2/opienet/opienet.pro b/libopie2/opienet/opienet.pro index 3f9166a..93389db 100644 --- a/libopie2/opienet/opienet.pro +++ b/libopie2/opienet/opienet.pro @@ -17,6 +17,12 @@ DEPENDPATH += $(OPIEDIR)/include LIBS += -lpcap MOC_DIR = moc OBJECTS_DIR = obj + +!contains( platform, x11 ) { include ( $(OPIEDIR)/include.pro ) +} +contains( platform, x11 ) { + LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib +} |