Make windres command used in MinGW build configurable.
This allows to pass extra arguments to windres, which is especially important when using 64 bit windres for building 32 bit applications as the generated .o file uses a wrong architecture unless "-F pe-i386" is explicitly specified. See #15601. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -151,3 +151,7 @@ RUNTIME_LIBS ?= dynamic
|
||||
# "2.95" ... for Mingw 1.1 or any of the older versions [3,2.95]
|
||||
GCC_VERSION ?= 3
|
||||
|
||||
# Windows resource compiler to use, possibly including extra options.
|
||||
# For example, add "-F pe-i386" here if using 64 bit windres for 32 bit build.
|
||||
WINDRES ?= windres --use-temp-file
|
||||
|
||||
|
Reference in New Issue
Block a user