mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Recognize and use environment variable $PKG_CONFIG_SYSROOT_DIR as default
setting of ${sysroot} in libpng.pc.in
13 lines
367 B
PkgConfig
13 lines
367 B
PkgConfig
sysroot=${PKG_CONFIG_SYSROOT_DIR}
|
|
prefix=${sysroot}@prefix@
|
|
exec_prefix=${sysroot}@exec_prefix@
|
|
libdir=${sysroot}@libdir@
|
|
includedir=${sysroot}@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
|
|
|
|
Name: libpng
|
|
Description: Loads and saves PNG files
|
|
Version: @PNGLIB_VERSION@
|
|
Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
|
|
Libs.private: @LIBS@
|
|
Cflags: -I${includedir}
|