aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-09-18 21:39:12 -0400
committerMike Frysinger <vapier@gentoo.org>2015-09-18 21:39:12 -0400
commita740850fb974cd98b75e2bd2a1506d812e04ee38 (patch)
tree7e595a6943fef50eea4264cf06ba03c2096d84f9 /tools
parent3413c15f363da8afa3c3136a13d2a0cd9b7d8bcf (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.
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/native/TexturePacker/src/configure.ac2
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"))