aboutsummaryrefslogtreecommitdiff
path: root/lib/liblz4.pc.in
diff options
context:
space:
mode:
authorEddy Jansson <eddy@klopper.net>2021-07-24 13:43:35 +0200
committerEddy Jansson <eddy@klopper.net>2021-07-24 16:05:15 +0200
commitc1f514f3dbc22e56b2d6821f461aa058bd3104c3 (patch)
tree0f84df5b5ac8a865562719d5e41bda97ba3c5bbd /lib/liblz4.pc.in
parentc240126068b780d927c126bb6a16cdeb92c35d77 (diff)
downloadlz4-c1f514f3dbc22e56b2d6821f461aa058bd3104c3.tar.gz
Expand use of pkg-config variables.
Change pkg-config generation such that the path variables, not their values, are used in the definitions of Libs and Cflags, and that $prefix is substituted into libdir and includedir iff they start with its value. This makes it easier to modify the already installed file if necessary.
Diffstat (limited to 'lib/liblz4.pc.in')
-rw-r--r--lib/liblz4.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/liblz4.pc.in b/lib/liblz4.pc.in
index 211477fa..ed52214f 100644
--- a/lib/liblz4.pc.in
+++ b/lib/liblz4.pc.in
@@ -10,5 +10,5 @@ Name: lz4
Description: extremely fast lossless compression algorithm library
URL: http://www.lz4.org/
Version: @VERSION@
-Libs: -L@LIBDIR@ -llz4
-Cflags: -I@INCLUDEDIR@
+Libs: -L${libdir} -llz4
+Cflags: -I${includedir}