Change library suffix from _debug to D for debug build.
And no suffix for a release build.
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
|
||||
Import('env', 'build_type', 'prefix', 'subst_info')
|
||||
Import('env', 'build_type', 'prefix', 'lib_suffix', 'subst_info')
|
||||
|
||||
ucore_env = env.Clone()
|
||||
|
||||
@@ -13,7 +13,7 @@ sources = ucore_env.Glob('*.c')
|
||||
#print 'sources:', sources[len(sources)-2]
|
||||
|
||||
#Build library
|
||||
ucore_lib = ucore_env.StaticLibrary(target='ucore_' + build_type , source=sources)
|
||||
ucore_lib = ucore_env.StaticLibrary(target='ucore' + lib_suffix , source=sources)
|
||||
|
||||
#install targets
|
||||
ucore_env.Alias('install',
|
||||
|
||||
Reference in New Issue
Block a user