summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorleo2005-10-19 18:05:01 +0000
committerleo2005-10-19 18:05:01 +0000
commit71f2a7f2e11c98fbec71646a600962cee0c974d1 (patch)
treeddbaea133b4c3c603957f97866c3b3fa52b01a77 /config.mk
parent8a9d55e37404c121d7ba0f29440e280a7cd1c3ec (diff)
Fixed png test on some systems.
git-svn-id: http://svn.leocad.org/trunk@428 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 0e7a406..05a0bba 100644
--- a/config.mk
+++ b/config.mk
@@ -282,7 +282,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 -lz -lpng -o pngtest $(CPPFLAGS) $(LDFLAGS)) 2> /dev/null; } && \
+ @if { (eval $(CC) pngtest.c -lm -lz -lpng -o pngtest $(CPPFLAGS) $(LDFLAGS)) 2> /dev/null; } && \
(test -s pngtest); then \
echo "ok"; \
echo "HAVE_PNGLIB = yes" >> $(OSDIR)/config.mk; \