summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-03-03 16:54:04 +0000
committerCharles Pigott <charlespigott@googlemail.com>2019-03-03 18:04:36 +0000
commit1a663d9efc4df763b908d7f405efe9b70bfe7955 (patch)
tree9f1cb038d302cb5530206dc39ee767baaa952123
parent93a6fd42d1a9eec51943182a8c9ed983e8b2d5b1 (diff)
downloadopenttd-1a663d9efc4df763b908d7f405efe9b70bfe7955.tar.xz
Fix: Wrong variable was used in zlib detection
-rw-r--r--config.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index 1c3fc2c94..5312636c4 100644
--- a/config.lib
+++ b/config.lib
@@ -820,7 +820,7 @@ check_params() {
pre_detect_with_zlib=$with_zlib
detect_zlib
- if [ "$with_zlib" = "0" ] || [ -z "$zlib-config" ]; then
+ if [ "$with_zlib" = "0" ] || [ -z "$zlib_config" ]; then
log 1 "WARNING: zlib was not detected or disabled"
log 1 "WARNING: OpenTTD doesn't require zlib, but it does mean that many features"
log 1 "WARNING: (like loading most old savegames/scenarios, loading heightmaps,"