vcpkg/ports/jasper/fix-library-name.patch

14 lines
510 B
Diff
Raw Normal View History

diff --git a/build/pkgconfig/jasper.pc.in b/build/pkgconfig/jasper.pc.in
index a4ce38f..a9a7bc4 100644
--- a/build/pkgconfig/jasper.pc.in
+++ b/build/pkgconfig/jasper.pc.in
@@ -6,7 +6,7 @@ Name: JasPer
Description: Image Processing/Coding Tool Kit with JPEG-2000 Support
Version: @JAS_VERSION@
-Libs: -L${libdir} -ljasper
+Libs: -L${libdir} -ljasper@CMAKE_DEBUG_POSTFIX@
Requires.private: @JAS_PKGCONFIG_REQUIRES@
Cflags: -I${includedir}/jasper -I${includedir}
Cflags.private: -DLIBJASPER_STATIC_DEFINE