temporarily fix from Johnny Matthews committed, win32 doesn't have munmap. Someone...
[blender.git] / intern / guardedalloc / SConscript
index 8fdcafb573d6990a3b782a957f785a53c84b07ad..fe3abb7eaffbd2f3755ebe82da8bf024181720b8 100644 (file)
@@ -1,10 +1,8 @@
-Import ('user_options_dict')
-Import ('library_env')
+#!/usr/bin/python
 
-guardal_env = library_env.Copy ()
+Import('env')
 
-source_files = ['intern/mallocn.c']
+sources = env.Glob('intern/*.c')
+incs = '.'
 
-guardal_env.Append (CPPPATH = ['.'])
-
-guardal_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_guardedalloc', source=source_files)
+env.BlenderLib ('bf_guardedalloc', sources, Split(incs), [], libtype=['intern', 'player'], priority = [10, 175] )