Theme Editor: make cross compiling on OS X work.

The attempt to detect if building a fat library is necessary for libskin_parser
makes cross compiling fail on OS X. Allow overriding the target platform for
libskin_parser to fix that.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29515 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-03-05 12:50:46 +00:00
parent 57bf8058e5
commit 8c6b8e6cd5
2 changed files with 3 additions and 2 deletions

View file

@ -40,7 +40,7 @@ cross {
# retrieve ar binary for w32 cross compile. This might be specific to
# Fedora mingw32 packages of Qt. Using member() here is needed because at
# least the F13 packages add ar options to the variable.
CROSSOPTIONS += AR=$$member(QMAKE_LIB)
CROSSOPTIONS += AR=$$member(QMAKE_LIB) TARGETPLATFORM=\"MinGW\"
# make sure we use the correct subsystem to prevent a console window coming up.
LIBS += -Wl,-subsystem,windows