summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorleo2001-02-05 19:21:13 +0000
committerleo2001-02-05 19:21:13 +0000
commit84334fa7786709203afbe17cd781bccd81313681 (patch)
tree7c85291cc88b5436015f598685c36cab70c69b74 /config.mk
parenta6cb904f835f7c2d3fe42be9553a88b1ee7ad449 (diff)
Only define LC_HAVE_PNGLIB if zlib is available.
git-svn-id: http://svn.leocad.org/trunk@243 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index df25076..afcbcb1 100644
--- a/config.mk
+++ b/config.mk
@@ -279,7 +279,7 @@ config:
@echo -n "Checking for png support... "
@echo "char png_read_info();" > pngtest.c
@echo "int main() { png_read_info(); return 0; }" >> pngtest.c
- @if { (eval $(CC) pngtest.c -lpng -o pngtest $(CPPFLAGS) $(LDFLAGS)) 2> /dev/null; } && \
+ @if { (eval $(CC) pngtest.c -lz -lpng -o pngtest $(CPPFLAGS) $(LDFLAGS)) 2> /dev/null; } && \
(test -s pngtest); then \
echo "ok"; \
echo "HAVE_PNGLIB = yes" >> $(OSDIR)/config.mk; \