aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWolfgang Stöggl <c72578@yahoo.de>2020-07-15 21:59:05 +0200
committerWolfgang Stöggl <c72578@yahoo.de>2020-07-15 21:59:05 +0200
commit8b074b171f6d9ff74168bece825bbe18930e6ee0 (patch)
tree76b46dc9b431cfdf45b4f37b8a9d92d30f020b38 /scripts
parentd58115e581f8cd8ca3e661182425d9e22941b7c3 (diff)
downloadpugixml-8b074b171f6d9ff74168bece825bbe18930e6ee0.zip
pugixml-8b074b171f6d9ff74168bece825bbe18930e6ee0.tar.gz
pugixml-8b074b171f6d9ff74168bece825bbe18930e6ee0.tar.bz2
Fix debug postfix in pkgconfig file
In case of USE_POSTFIX, the POSTFIX is dependent on the CMAKE_BUILD_TYPE. Use the correct POSTFIX also in the generated pugixml.pc file. This results in the following contents of pugixml.pc: - Release: Libs: -L${libdir} -lpugixml - RelWithDebInfo Libs: -L${libdir} -lpugixml_r - MinSizeRel: Libs: -L${libdir} -lpugixml_m - Debug: Libs: -L${libdir} -lpugixml_d
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pugixml.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pugixml.pc.in b/scripts/pugixml.pc.in
index f9c3fd4..7958774 100644
--- a/scripts/pugixml.pc.in
+++ b/scripts/pugixml.pc.in
@@ -8,4 +8,4 @@ Description: Light-weight, simple and fast XML parser for C++ with XPath support
URL: https://pugixml.org/
Version: @pugixml_VERSION@
Cflags: -I${includedir}
-Libs: -L${libdir} -lpugixml
+Libs: -L${libdir} -lpugixml@LIB_POSTFIX@