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,10 +1,10 @@
|
||||
import platform
|
||||
|
||||
Import('env', 'build_type', 'prefix', 'version_info', 'test_xml')
|
||||
Import('env', 'build_type', 'prefix', 'lib_suffix', 'version_info', 'test_xml')
|
||||
|
||||
test_env = env.Clone()
|
||||
test_env.Append(LIBPATH = ['#build/src']);
|
||||
test_env.Append(LIBS = ['ucore_' + build_type, 'check'])
|
||||
test_env.Append(LIBS = ['ucore' + lib_suffix, 'check'])
|
||||
|
||||
system = platform.system()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user