summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-05-16 08:30:32 +0000
committertron <tron@openttd.org>2005-05-16 08:30:32 +0000
commit14f482aeb5ba12fdce7d1ac318c0ffd302c049e7 (patch)
treec826f6608e38d2bdae59f70ca452d85a7ed083ce /Makefile
parentfd9d6e2fc65281affa6ab6e635a247b56cfdf954 (diff)
downloadopenttd-14f482aeb5ba12fdce7d1ac318c0ffd302c049e7.tar.xz
(svn r2328) There's no need for extra magic to detect libpng on FreeBSD
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a79551a15..214fdee53 100644
--- a/Makefile
+++ b/Makefile
@@ -457,10 +457,6 @@ endif
# 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 @@ else
LIBS += $(shell libpng-config --L_opts $(PNGCONFIG_FLAGS))
endif
endif
-endif
# enables/disables assert()
ifdef DISABLE_ASSERTS