tevent: Update flags in tevent pkgconfig file
authorLukas Slebodnik <lslebodn@redhat.com>
Fri, 4 Apr 2014 11:27:35 +0000 (13:27 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 4 Apr 2014 19:35:34 +0000 (21:35 +0200)
After exapnding, @LIB_RPATH@ will be -Wl,-rpatch,/usr/local/lib if rpath is
used on install. But "-Wl," will be passed to linker and should not be among
CFLAGS. Other pkgconfig files have @LIB_RPATH@ in the right place.
    @see commit 735c1cd2da15167748e92ba6de48fdb5169db587

Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/tevent/tevent.pc.in

index 1091ff00f1e4d5e6562ee42556ca9984895069bf..eb0e564f7247007e53692c02f6d4dce0be62a160 100644 (file)
@@ -7,6 +7,6 @@ Name: tevent
 Description: An event system library
 Version: @PACKAGE_VERSION@
 Requires: talloc
-Libs: -L${libdir} -ltevent
-Cflags: @LIB_RPATH@ -I${includedir}
+Libs: @LIB_RPATH@ -L${libdir} -ltevent
+Cflags: -I${includedir}
 URL: http://samba.org/