Make sure correct path separator is used.
authorNathan Letwory <nathan@letworyinteractive.com>
Tue, 31 May 2011 08:50:20 +0000 (08:50 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Tue, 31 May 2011 08:50:20 +0000 (08:50 +0000)
source/blender/windowmanager/SConscript

index fa5e660634742c81ebd674bfef532bfcb57ee9ca..5b6e8b1ab3024139fbe1cc820dd0a133df4d0abe 100644 (file)
@@ -1,5 +1,6 @@
 #!/usr/bin/python
 Import ('env')
+import os
 
 sources = env.Glob('intern/*.c')
 
@@ -33,7 +34,7 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
     incs += ' ' + env['BF_PTHREADS_INC']
 
 if env['OURPLATFORM'] != 'darwin' or env['WITH_GHOST_COCOA']:
-    sources.remove('intern/wm_apple.c')
+    sources.remove('intern' + os.sep + 'wm_apple.c')
 
 if env['BF_BUILDINFO']:
     defs.append('NAN_BUILDINFO')