[DEBUG] correct local simple C test

This commit is contained in:
Edouard DUPIN 2016-10-28 00:08:46 +02:00
parent 44dbcdd56d
commit 2992699ec5

View File

@ -10,11 +10,11 @@ def get_desc():
return "Test C compilation" return "Test C compilation"
def configure(target, my_module): def configure(target, my_module):
my_module.add_extra_compile_flags() my_module.add_extra_flags()
my_module.add_src_file([ my_module.add_src_file([
'test.c' 'test.c'
]) ])
if target.name=="Android": if "Android" in target.get_type():
my_module.compile_version("c", 1999) my_module.compile_version("c", 1999)
return my_module return my_module