File fix-build.patch of Package qgroundcontrol
diff --git a/QGCPostLinkCommon.pri b/QGCPostLinkCommon.pri
index 4ad6b577..500f1829 100644
--- a/QGCPostLinkCommon.pri
+++ b/QGCPostLinkCommon.pri
@@ -65,7 +65,6 @@ WindowsBuild {
LinuxBuild {
QMAKE_POST_LINK += && mkdir -p $$DESTDIR/Qt/libs && mkdir -p $$DESTDIR/Qt/plugins
- QMAKE_RPATHDIR += $ORIGIN/Qt/libs
# QT_INSTALL_LIBS
QT_LIB_LIST += \
@@ -159,7 +158,7 @@ LinuxBuild {
include($$PWD/custom/custom_deploy.pri)
}
- QMAKE_POST_LINK += && SEARCHDIR="$$DESTDIR/Qt" RPATHDIR="$$DESTDIR/Qt/libs" "$$PWD/deploy/linux-fixup-rpaths.bash"
+ QMAKE_POST_LINK += && SEARCHDIR="$$DESTDIR/Qt" "$$PWD/deploy/linux-fixup-rpaths.bash"
# https://doc.qt.io/qt-5/qt-conf.html
QMAKE_POST_LINK += && $$QMAKE_COPY "$$SOURCE_DIR/deploy/qt.conf" "$$DESTDIR"