DYT/Tool/OpenSceneGraph-3.6.5/lib/pkgconfig/libdeflate.pc
2024-12-25 07:49:36 +08:00

20 lines
779 B
PkgConfig

prefix=${pcfiledir}/../..
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib
Name: libdeflate
Description: Fast implementation of DEFLATE, zlib, and gzip
Version: 1.23
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.