summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-02-16 10:08:38 +0000
committertruelight <truelight@openttd.org>2007-02-16 10:08:38 +0000
commit5adb5315bbf0af959ad96a9ed9b2aaf216525134 (patch)
treefa2afe34464e544da33563d284b0640e4b7d71c8 /config.lib
parentee9f17844d5138e027ba51d72ff7f3fc71473e3d (diff)
downloadopenttd-5adb5315bbf0af959ad96a9ed9b2aaf216525134.tar.xz
(svn r8758) -Fix r8757: wrong variable to check libtimidity on if it is found or not
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index f91823489..51c4741f4 100644
--- a/config.lib
+++ b/config.lib
@@ -782,7 +782,7 @@ make_cflags_and_ldflags() {
CFLAGS="$CFLAGS -DWIN32_ENABLE_DIRECTMUSIC_SUPPORT"
fi
- if [ "$with_libtimidity" != "0" ]; then
+ if [ -n "$libtimidity" ]; then
if [ "$enable_static" != "0" ]; then
LIBS="$LIBS $libtimidity"
else