mirror of https://github.com/OpenTTD/OpenTTD
(svn r8758) -Fix r8757: wrong variable to check libtimidity on if it is found or not
parent
ee9f17844d
commit
5adb5315bb
|
@ -782,7 +782,7 @@ make_cflags_and_ldflags() {
|
||||||
CFLAGS="$CFLAGS -DWIN32_ENABLE_DIRECTMUSIC_SUPPORT"
|
CFLAGS="$CFLAGS -DWIN32_ENABLE_DIRECTMUSIC_SUPPORT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$with_libtimidity" != "0" ]; then
|
if [ -n "$libtimidity" ]; then
|
||||||
if [ "$enable_static" != "0" ]; then
|
if [ "$enable_static" != "0" ]; then
|
||||||
LIBS="$LIBS $libtimidity"
|
LIBS="$LIBS $libtimidity"
|
||||||
else
|
else
|
||||||
|
|
|
@ -82,7 +82,7 @@ SRCS="`< $ROOT_DIR/source.list tr '\r' '\n' | awk '
|
||||||
if ($0 == "WINCE" && "'$os'" != "WINCE") { next; }
|
if ($0 == "WINCE" && "'$os'" != "WINCE") { next; }
|
||||||
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
|
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
|
||||||
if ($0 == "DIRECTMUSIC" && "'$with_direct_music'" == "0") { next; }
|
if ($0 == "DIRECTMUSIC" && "'$with_direct_music'" == "0") { next; }
|
||||||
if ($0 == "LIBTIMIDITY" && "'$with_libtimidity'" == "0") { next; }
|
if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" ) { next; }
|
||||||
|
|
||||||
skip += 1;
|
skip += 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue