diff --git a/configure b/configure index dce43e857c..cb6318b5ef 100755 --- a/configure +++ b/configure @@ -4965,7 +4965,7 @@ Description: $comment Version: $version Requires: $requires Conflicts: -Libs: -L\${libdir} -l${shortname} $(enabled shared || echo $libs) +Libs: -L\${libdir} -Wl,-rpath,\${libdir} -l${shortname} $(enabled shared || echo $libs) Cflags: -I\${includedir} EOF }