Commit 42601170ace98fe62c1f63a4d1b820a0bacf3e1a

Guillem Jover 2009-05-25T10:02:26

Change @libdir@ in the pkg-config file to be $(usrlibdir) 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.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile b/Makefile
index df8e4fe..53ab4f3 100644
--- 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):' \
 	    $< > $@