Skip to content

Commit

Permalink
pkgconfig: use correct LIBDIR for destination library
Browse files Browse the repository at this point in the history
  • Loading branch information
LocutusOfBorg committed Jan 4, 2021
1 parent 127492f commit 39cd44b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/config/contrib/liblucene++-contrib.pc.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}/bin
libdir=@LIB_DESTINATION@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/include/lucene++
lib=lucene++-contrib

Name: liblucene++-contrib
Description: Contributions for Lucene++ - a C++ search engine, ported from the popular Apache Lucene
Version: @lucene++_VERSION@
Libs: -L@LIB_DESTINATION@ -l${lib}
Libs: -L${libdir} -l${lib}
Cflags: -I${includedir}
Requires: liblucene++ = @lucene++_VERSION@

4 changes: 2 additions & 2 deletions src/config/core/liblucene++.pc.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}/bin
libdir=@LIB_DESTINATION@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/include/lucene++
lib=lucene++

Name: liblucene++
Description: Lucene++ - a C++ search engine, ported from the popular Apache Lucene
Version: @lucene++_VERSION@
Libs: -L@LIB_DESTINATION@ -l${lib}
Libs: -L${libdir} -l${lib}
Cflags: -I${includedir}

0 comments on commit 39cd44b

Please sign in to comment.