summaryrefslogtreecommitdiff
path: root/makefiledir/Makefile.libdetection
diff options
context:
space:
mode:
Diffstat (limited to 'makefiledir/Makefile.libdetection')
-rw-r--r--makefiledir/Makefile.libdetection2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection
index 18bd2e490..1167117ae 100644
--- a/makefiledir/Makefile.libdetection
+++ b/makefiledir/Makefile.libdetection
@@ -66,7 +66,7 @@ WITH_NETWORK:=1
WITH_SDL:=$(shell $(SDL-CONFIG) --version 2>/dev/null)
# libpng detection
-WITH_PNG:=$(shell libpng-config --version 2>/dev/null)
+WITH_PNG:=$(shell $(LIBPNG-CONFIG) --version 2>/dev/null)
ifdef WITH_PNG
# LibPNG depends on Zlib