diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-09-18 21:39:12 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-09-18 21:39:12 -0400 |
commit | a740850fb974cd98b75e2bd2a1506d812e04ee38 (patch) | |
tree | 7e595a6943fef50eea4264cf06ba03c2096d84f9 | |
parent | 3413c15f363da8afa3c3136a13d2a0cd9b7d8bcf (diff) |
TexturePacker: use $PKG_CONFIG
Build systems should not hardcode `pkg-config` anywhere. The pkg-config
m4 files already have a standard $PKG_CONFIG variable for people.
-rw-r--r-- | tools/depends/native/TexturePacker/src/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/native/TexturePacker/src/configure.ac b/tools/depends/native/TexturePacker/src/configure.ac index a00ad023b5..a3e9f1e1be 100644 --- a/tools/depends/native/TexturePacker/src/configure.ac +++ b/tools/depends/native/TexturePacker/src/configure.ac @@ -19,7 +19,7 @@ AC_ARG_ENABLE([static], PKG_CHECK_MODULES([PNG], [libpng], - [INCLUDES="$PNG_CFLAGS"; LIBS="$LIBS $(pkg-config --silence-errors --static --libs libpng)"], + [INCLUDES="$PNG_CFLAGS"; LIBS="$LIBS $(${PKG_CONFIG} --silence-errors --static --libs libpng)"], AC_MSG_ERROR("libpng not found")) AC_CHECK_HEADER([gif_lib.h],, AC_MSG_ERROR("gif_lib.h not found")) |