From 8031753da4bed81fd133dceff8187f0e86e02f3f Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Fri, 16 Apr 2021 09:13:43 +0200 Subject: [PATCH] Update also generated configure to disable rpath as we do not run autogen.sh to regenerate configure, it is still needed --- pinentry-1.1.1-rpath.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pinentry-1.1.1-rpath.patch b/pinentry-1.1.1-rpath.patch index 2f13b31..b21300e 100644 --- a/pinentry-1.1.1-rpath.patch +++ b/pinentry-1.1.1-rpath.patch @@ -25,3 +25,17 @@ index f8ef3f6..5f9de3f 100644 fi AC_CHECK_TOOL(MOC, moc) + +diff -up pinentry-1.1.1/configure.rpath pinentry-1.1.1/configure +--- pinentry-1.1.1/configure.rpath 2021-04-16 09:08:48.306479991 +0200 ++++ pinentry-1.1.1/configure 2021-04-16 09:09:29.365068549 +0200 +@@ -10765,7 +10776,9 @@ fi + + qtlibdir=`"$PKG_CONFIG" --variable libdir Qt5Core` + if test -n "$qtlibdir"; then ++ if test "$enable_rpath" != "no"; then + PINENTRY_QT_LDFLAGS="$PINENTRY_QT_LDFLAGS -Wl,-rpath \"$qtlibdir\"" ++ fi + fi + + if test -n "$ac_tool_prefix"; then