forked from ebiggers/libdeflate
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlibdeflate.pc.in
More file actions
18 lines (16 loc) · 808 Bytes
/
libdeflate.pc.in
File metadata and controls
18 lines (16 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
includedir=@CMAKE_PKGCONFIG_INCLUDEDIR@
libdir=@CMAKE_PKGCONFIG_LIBDIR@
Name: libdeflate
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.