mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 20:49:11 +00:00
(svn r25339) [1.3] -Backport from trunk:
- Fix: Do not focus the editbox in the NewGRF window, if there is no editbox visible (r25307) - Fix: Game Script APIs that execute a DoCommand were returning the same result as in TestMode during world generation [FS#5561] (r25305) - Fix: Build railway fences next to objects, even if they are owned by the same company [FS#5565] (r25302) - Fix: gcc4.6 removed -mno-cygwin option (r25266)
This commit is contained in:
@@ -1487,12 +1487,15 @@ make_cflags_and_ldflags() {
|
||||
LDFLAGS="$LDFLAGS -mwin32"
|
||||
fi
|
||||
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ]; then
|
||||
flags="$flags -mno-cygwin"
|
||||
if [ $cc_version -lt 46 ]; then
|
||||
flags="$flags -mno-cygwin"
|
||||
LDFLAGS="$LDFLAGS -mno-cygwin"
|
||||
fi
|
||||
|
||||
if [ "$enable_console" != "0" ]; then
|
||||
LDFLAGS="$LDFLAGS -mno-cygwin -Wl,--subsystem,console"
|
||||
LDFLAGS="$LDFLAGS -Wl,--subsystem,console"
|
||||
else
|
||||
LDFLAGS="$LDFLAGS -mno-cygwin -Wl,--subsystem,windows"
|
||||
LDFLAGS="$LDFLAGS -Wl,--subsystem,windows"
|
||||
fi
|
||||
|
||||
LIBS="$LIBS -lws2_32 -lwinmm -lgdi32 -ldxguid -lole32"
|
||||
|
Reference in New Issue
Block a user