configure: link with built libs when pc-uninstalled is used
authorLukasz Marek <lukasz.m.luki@gmail.com>
Sat, 5 Oct 2013 23:25:03 +0000 (01:25 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Oct 2013 12:06:40 +0000 (14:06 +0200)
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure

index dce43e8..cb6318b 100755 (executable)
--- 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
 }