update for compiling cross compiling win32 on linux, had a lot of trouble with makesdna, the only way I could build and link was as a

win32 binary.
Still unable to link blender.exe
and run with wine.
This commit is contained in:
Campbell Barton
2008-11-13 23:12:38 +00:00
parent dc4ef17eea
commit ff0c599c4b
6 changed files with 21 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ if env['OURPLATFORM'] == 'linux2':
cflags='-pthread'
incs += ' ../../../extern/binreloc/include'
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross'):
incs += ' ' + env['BF_PTHREADS_INC']
env.BlenderLib ( 'bf_blenlib', sources, Split(incs), Split(defs), libtype=['core', 'intern', 'player'], priority = [85,150,195], compileflags =cflags )