From a740850fb974cd98b75e2bd2a1506d812e04ee38 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 18 Sep 2015 21:39:12 -0400 Subject: 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. --- tools/depends/native/TexturePacker/src/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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")) -- cgit v1.2.3