diff options
author | bjarni <bjarni@openttd.org> | 2006-03-31 10:04:18 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-03-31 10:04:18 +0000 |
commit | 5bbf0049365ad01540580182a2a7d851485167b3 (patch) | |
tree | 96f450213a6617748595005f55ed39649e2b08f0 /Makefile | |
parent | b34daea3f2f9a1d5d15fbd723a9ff3c13adcfdf2 (diff) | |
download | openttd-5bbf0049365ad01540580182a2a7d851485167b3.tar.xz |
(svn r4197) reentered STATIC_ZLIB_PATH (removed in 4183) since it turned out that it's used after all
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -416,8 +416,17 @@ endif # zlib config ifdef WITH_ZLIB - CDEFS += -DWITH_ZLIB - LIBS += -lz + CDEFS += -DWITH_ZLIB + ifdef STATIC + ifdef OSX + # OSX links dynamically to zlib, even in static builds since it's always present in the system + LIBS += -lz + else + LIBS += $(STATIC_ZLIB_PATH) + endif + else + LIBS += -lz + endif endif # libpng config |