# HG changeset patch # User Charles Pigott # Date 2019-03-03 16:54:04 # Node ID 4ae1afb8cfb71d66d3517ad4099e25422db51b2a # Parent 9489373edb9a80d8435f5464afb2bbf088a764f7 Fix: Wrong variable was used in zlib detection diff --git a/config.lib b/config.lib --- 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,"