Skip to content

Commit 4907246

Browse files
committed
Properly use LIB_DESTINATION in pkg-config files
1 parent 4f4400b commit 4907246

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

liblucene++-contrib.pc.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
prefix=@CMAKE_INSTALL_PREFIX@
22
exec_prefix=${prefix}/bin
3-
libdir=${prefix}/@LIB_DESTINATION@
3+
libdir=@LIB_DESTINATION@
44
includedir=${prefix}/include/lucene++
55
lib=lucene++-contrib
66

77
Name: liblucene++-contrib
88
Description: Contributions for Lucene++ - a C++ search engine, ported from the popular Apache Lucene
99
Version: @LUCENE++_VERSION@
10-
Libs: -L${prefix}/@LIB_DESTINATION@/ -l${lib}
10+
Libs: -L@LIB_DESTINATION@/ -l${lib}
1111
Cflags: -I${includedir}
1212
Requires: liblucene++=@LUCENE++_VERSION@
1313
~

liblucene++.pc.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
prefix=@CMAKE_INSTALL_PREFIX@
22
exec_prefix=${prefix}/bin
3-
libdir=${prefix}/@LIB_DESTINATION@
3+
libdir=@LIB_DESTINATION@
44
includedir=${prefix}/include/lucene++
55
lib=lucene++
66

77
Name: liblucene++
88
Description: Lucene++ - a C++ search engine, ported from the popular Apache Lucene
99
Version: @LUCENE++_VERSION@
10-
Libs: -L${prefix}/@LIB_DESTINATION@/ -l${lib}
10+
Libs: -L@LIB_DESTINATION@ -l${lib}
1111
Cflags: -I${includedir}
1212
~
1313

0 commit comments

Comments
 (0)