Link with libm and librt, required for older glibc. No harm on newer

This commit is contained in:
Nils O. Selåsdal
2014-09-11 21:42:57 +02:00
parent 131bfc5da6
commit b39cabc055
+1 -1
View File
@@ -4,7 +4,7 @@ Import('env', 'build_type', 'prefix', 'lib_suffix', 'version_info', 'test_xml')
test_env = env.Clone() test_env = env.Clone()
test_env.Append(LIBPATH = ['#build/src']); 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() system = platform.system()