padthv1: Fix redundant rpath warning

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-10-28 20:55:33 +01:00
parent 3c29a786f6
commit 57508c4a2d
2 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,73 @@
From 45215d29d71a54e79230454d698346299a9182df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sun, 28 Oct 2018 20:51:23 +0100
Subject: [PATCH] Remove extra rpath
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
src/src_jack.pro | 2 +-
src/src_lv2.pro | 2 +-
src/src_lv2ui.pro | 2 +-
src/src_ui.pro | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/src_jack.pro b/src/src_jack.pro
index 4aa3349..d9d4415 100644
--- a/src/src_jack.pro
+++ b/src/src_jack.pro
@@ -75,7 +75,7 @@ unix {
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-preset.svg
- LIBS += -l$${NAME} -l$${NAME}_ui -Wl,-rpath,$${LIBDIR}
+ LIBS += -l$${NAME} -l$${NAME}_ui
}
QT += xml
diff --git a/src/src_lv2.pro b/src/src_lv2.pro
index b9e5565..8d28f61 100644
--- a/src/src_lv2.pro
+++ b/src/src_lv2.pro
@@ -59,7 +59,7 @@ unix {
QMAKE_CLEAN += $${TARGET_LV2}.so
- LIBS += -l$${NAME} -Wl,-rpath,$${LIBDIR}
+ LIBS += -l$${NAME}
}
QT -= gui
diff --git a/src/src_lv2ui.pro b/src/src_lv2ui.pro
index cabf198..07d32db 100644
--- a/src/src_lv2ui.pro
+++ b/src/src_lv2ui.pro
@@ -71,7 +71,7 @@ unix {
QMAKE_CLEAN += $${TARGET_LV2UI}.so $${TARGET_LV2UI}.ttl
- LIBS += -l$${NAME} -l$${NAME}_ui -L$${NAME}.lv2 -Wl,-rpath,$${LIBDIR}:$${LV2DIR}/$${NAME}.lv2
+ LIBS += -l$${NAME} -l$${NAME}_ui -L$${NAME}.lv2
}
QT += xml
diff --git a/src/src_ui.pro b/src/src_ui.pro
index 1abc4a0..014e380 100644
--- a/src/src_ui.pro
+++ b/src/src_ui.pro
@@ -71,7 +71,7 @@ unix {
target.path = $${LIBDIR}
- LIBS += -l$${NAME} -Wl,-rpath,$${LIBDIR}
+ LIBS += -l$${NAME}
}
QT += xml
--
2.14.4

View File

@@ -23,6 +23,7 @@ SRC_URI = " \
file://0001-find-native-qt-build-tools-by-configure-options-auto.patch \
\
${FFTWSINGLEPATCH} \
file://0002-Remove-extra-rpath.patch \
file://padthv1.conf \
"
SRC_URI[md5sum] = "d014db4f3b9bf54599955535c9c5bae6"