Link with libm and librt, required for older glibc. No harm on newer
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ 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' + lib_suffix, 'check'])
|
||||
test_env.Append(LIBS = ['ucore' + lib_suffix, 'check','m','rt'])
|
||||
|
||||
system = platform.system()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user