summaryrefslogtreecommitdiff
path: root/tests/auto/dlt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/dlt')
-rw-r--r--tests/auto/dlt/dlt.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/dlt/dlt.pro b/tests/auto/dlt/dlt.pro
index bbc2de0..feb04bc 100644
--- a/tests/auto/dlt/dlt.pro
+++ b/tests/auto/dlt/dlt.pro
@@ -3,8 +3,10 @@ QT += testlib geniviextras
TARGET = tst_dlt
CONFIG += testcase link_pkgconfig
+DLT_LIB_PATH = $$system($$pkgConfigExecutable() --variable=libdir automotive-dlt)
!contains(QT_CONFIG, no-pkg-config) {
PKGCONFIG += automotive-dlt
+ QMAKE_RPATH += $$DLT_LIB_PATH
} else {
LIBS += -ldlt
}