Makefile
changeset 1823 5ab67b33babd
parent 1822 ea9966b94491
child 1825 ec422eb87f76
--- a/Makefile	Mon May 16 00:04:01 2005 +0000
+++ b/Makefile	Mon May 16 08:30:32 2005 +0000
@@ -457,10 +457,6 @@
 # libpng config
 ifdef WITH_PNG
 CDEFS += -DWITH_PNG
-# FreeBSD doesn't use libpng-config
-ifdef FREEBSD
-LIBS += -lpng
-else
 CFLAGS += $(shell libpng-config --cflags)
 
 # seems like older libpng versions are broken and need this
@@ -476,7 +472,6 @@
 LIBS += $(shell libpng-config  --L_opts $(PNGCONFIG_FLAGS))
 endif
 endif
-endif
 
 # enables/disables assert()
 ifdef DISABLE_ASSERTS