diff --git a/configure b/configure
index dce43e857ca4fa76c668ce858fd83a3ed1f270db..cb6318b5efb1485763c05ab5c2b7e9424e92b3e6 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
 }