diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-10 12:50:42 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-10 12:50:42 -0700 |
commit | afc9a17d359b25b8636ffa535ffe2a1cb1fbba01 (patch) | |
tree | c093d75d086c5ba2b48aaac86c8d2b2045c3c957 /src/commonmark.c | |
parent | ec9db9166f0a931ed2990e531f8e618669b7f8f1 (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/commonmark.c')
0 files changed, 0 insertions, 0 deletions