summaryrefslogtreecommitdiff
path: root/src/libcmark.pc.in
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-10 12:50:42 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-10 12:50:42 -0700
commitafc9a17d359b25b8636ffa535ffe2a1cb1fbba01 (patch)
treec093d75d086c5ba2b48aaac86c8d2b2045c3c957 /src/libcmark.pc.in
parentec9db9166f0a931ed2990e531f8e618669b7f8f1 (diff)
Don't use CMAKE_INSTALL_LIBDIR to create libcmark.pc.
For some reason this wasn't getting set in processing libcmark.pc.in, and we were getting the wrong entry in libcmark.pc. (See #236) The new approach sets an internal libdir variable to lib${LIB_SUFFIX}. This variable is used both to set the install destination and in the libcmark.pc.in template. Closes #236. However, I'd welcome comments from @juhp who originally added CMAKE_INSTALL_LIBDIR in #185. I think that the new system should work fine with Fedora, since LIB_SUFFIX will be set appropriately, but some testing is in order.
Diffstat (limited to 'src/libcmark.pc.in')
-rw-r--r--src/libcmark.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmark.pc.in b/src/libcmark.pc.in
index 024ae48..0f87c30 100644
--- a/src/libcmark.pc.in
+++ b/src/libcmark.pc.in
@@ -1,6 +1,6 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
+libdir=@CMAKE_INSTALL_PREFIX@/@libdir@
includedir=@CMAKE_INSTALL_PREFIX@/include
Name: libcmark