svn merge -r37028:37030 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender-staging.git] / source / blender / windowmanager / SConscript
index 664a424a60b66783fbafd631891971e304c37998..8e303a6d2775a8d8cb6eaa28263a39f02a3a2146 100644 (file)
@@ -32,7 +32,7 @@ if env['OURPLATFORM'] == 'linux2':
 if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
     incs += ' ' + env['BF_PTHREADS_INC']
 
-if env['WITH_GHOST_COCOA']:
+if env['OURPLATFORM'] != 'darwin' or env['WITH_GHOST_COCOA']:
     sources.remove('intern/wm_apple.c')
 
 if env['BF_BUILDINFO']: