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