18 lines
922 B
Diff
18 lines
922 B
Diff
--- libdeflate-1.15/libdeflate.pc.in.orig 2022-12-05 05:40:10.000000000 +0100
|
|
+++ libdeflate-1.15/libdeflate.pc.in 2022-12-05 20:32:35.832915600 +0100
|
|
@@ -7,12 +7,5 @@
|
|
Description: Fast implementation of DEFLATE, zlib, and gzip
|
|
Version: @PROJECT_VERSION@
|
|
Libs: -L${libdir} -ldeflate
|
|
-Cflags: -I${includedir}
|
|
-
|
|
-# Note: this library's public header allows LIBDEFLATE_DLL to be defined when
|
|
-# linking to the DLL on Windows, to make __declspec(dllimport) be used.
|
|
-# However, the only way to define a shared-library-only flag in a pkgconfig file
|
|
-# is to use the weird workaround of unconditionally defining it in Cflags, then
|
|
-# undefining it in Cflags.private. Just don't bother with this, since
|
|
-# __declspec(dllimport) is optional anyway. It is a very minor performance
|
|
-# optimization that is irrelevant for most use cases of libdeflate.
|
|
+Cflags: -I${includedir} -DLIBDEFLATE_DLL
|
|
+Cflags.private: -ULIBDEFLATE_DLL
|