mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-16 18:56:56 +02:00
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.
This commit is contained in:
2
Makefile
2
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):' \
|
||||
$< > $@
|
||||
|
||||
|
Reference in New Issue
Block a user