summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBiswapriyo Nath <nathbappai@gmail.com>2022-02-17 23:24:12 +0530
committerFilipe Coelho <falktx@falktx.com>2022-02-17 18:28:09 +0000
commit3a5e040155b6f8410a42bb92aa743a4be6929b07 (patch)
treee58f96ffd63a0bd0b0c8ef0dbddc8a5280154cea
parent21b293dbc37d42446141a08922cdec0d2550c6a0 (diff)
downloadjack2-3a5e040155b6f8410a42bb92aa743a4be6929b07.tar.gz
pkgconfig: Use predefined variables in Libs and Cflags
This fixes path relocation in mingw environment. Without this, libdir and includedir are not shown in pkgconfig output. e.g. * Without predefined variables: - pkgconf -cflags jack: No output - pkgconf -libs jack: -ljack64 * With predefined variables: - pkgconf -cflags jack: -IC:/msys64/mingw64/include - pkgconf -libs jack: -LC:/msys64/mingw64/lib -ljack64 Also official documentation suggests to use variables https://people.freedesktop.org/~dbn/pkg-config-guide.html
-rw-r--r--jack.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/jack.pc.in b/jack.pc.in
index 3a6a11d7..ecf839e7 100644
--- a/jack.pc.in
+++ b/jack.pc.in
@@ -8,5 +8,5 @@ jack_implementation=jack2
Name: jack
Description: the Jack Audio Connection Kit: a low-latency synchronous callback-based media server
Version: @JACK_VERSION@
-Libs: -L@LIBDIR@ -l@CLIENTLIB@
-Cflags: -I@INCLUDEDIR@
+Libs: -L${libdir} -l@CLIENTLIB@
+Cflags: -I${includedir}