]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Change @libdir@ in the pkg-config file to be $(usrlibdir)
authorGuillem Jover <guillem@hadrons.org>
Mon, 25 May 2009 08:02:26 +0000 (10:02 +0200)
committerGuillem Jover <guillem@hadrons.org>
Mon, 25 May 2009 08:02:26 +0000 (10:02 +0200)
The variable in the .pc file points to the directory where the .so
symlink is present, which is never going to be something like /lib,
but something like /usr/lib.

Makefile

index df8e4fef71b7c37569bb038ee89f654ec7c42ca3..53ab4f33d8fce5fca226a8be160aa98b20775582 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -112,7 +112,7 @@ $(LIB_PKGCONFIG): $(LIB_PKGCONFIG).in
        sed -e 's:@VERSION@:$(LIB_VERSION):' \
            -e 's:@prefix@:$(value prefix):' \
            -e 's:@exec_prefix@:$(value exec_prefix):' \
-           -e 's:@libdir@:$(value libdir):' \
+           -e 's:@libdir@:$(value usrlibdir):' \
            -e 's:@includedir@:$(value includedir):' \
            $< > $@