Mercurial > hg > openttd
changeset 583:48ed8afb8c14 draft
(svn r1003) Mac: reintroduced the static libpng hack in makefile since it appears to be needed in the nightly builds
author | bjarni <bjarni@openttd.org> |
---|---|
date | Fri, 10 Dec 2004 13:00:11 +0000 |
parents | ee78fee6f0b8 |
children | c109800def18 |
files | Makefile |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile +++ b/Makefile @@ -425,7 +425,12 @@ # seems like older libpng versions are broken and need this PNGCONFIG_FLAGS = --ldflags --libs ifdef STATIC +ifdef OSX +# Seems like we need a tiny hack for OSX static to work +LIBS += `libpng-config --prefix`/lib/libpng.a +else LIBS += `libpng-config --static $(PNGCONFIG_FLAGS)` +endif else LIBS += `libpng-config --L_opts $(PNGCONFIG_FLAGS)` endif