mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r9053) -Change [Config]: removed unneeded stuff for windows
This commit is contained in:
parent
24c4d5b06d
commit
0105aac04b
@ -749,12 +749,14 @@ make_cflags_and_ldflags() {
|
|||||||
if [ -n "$sdl_config" ]; then
|
if [ -n "$sdl_config" ]; then
|
||||||
CFLAGS="$CFLAGS -DWITH_SDL"
|
CFLAGS="$CFLAGS -DWITH_SDL"
|
||||||
CFLAGS="$CFLAGS `$sdl_config --cflags`"
|
CFLAGS="$CFLAGS `$sdl_config --cflags`"
|
||||||
|
if [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ] && [ "$os" != "WINCE" ]; then
|
||||||
if [ "$enable_static" != "0" ]; then
|
if [ "$enable_static" != "0" ]; then
|
||||||
LIBS="$LIBS `$sdl_config --static-libs`"
|
LIBS="$LIBS `$sdl_config --static-libs`"
|
||||||
else
|
else
|
||||||
LIBS="$LIBS `$sdl_config --libs`"
|
LIBS="$LIBS `$sdl_config --libs`"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$with_cocoa" != "0" ]; then
|
if [ "$with_cocoa" != "0" ]; then
|
||||||
CFLAGS="$CFLAGS -DWITH_COCOA"
|
CFLAGS="$CFLAGS -DWITH_COCOA"
|
||||||
@ -1569,6 +1571,12 @@ detect_fontconfig() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "WINCE" ]; then
|
||||||
|
log 1 "checking libfontconfig... WIN32, skipping"
|
||||||
|
fontconfig_config=""
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$with_fontconfig" = "1" ] || [ "$with_fontconfig" = "" ] || [ "$with_fontconfig" = "2" ]; then
|
if [ "$with_fontconfig" = "1" ] || [ "$with_fontconfig" = "" ] || [ "$with_fontconfig" = "2" ]; then
|
||||||
fontconfig_config="pkg-config fontconfig"
|
fontconfig_config="pkg-config fontconfig"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user