[BUILD] update new lutin 0.5.3

This commit is contained in:
Edouard DUPIN 2015-05-08 22:44:59 +02:00
parent 4bbdfe1c53
commit 251b3c327d

View File

@ -1,7 +1,7 @@
#!/usr/bin/python #!/usr/bin/python
import lutinModule as module import lutin.module as module
import lutinTools as tools import lutin.tools as tools
import lutinDebug as debug import lutin.debug as debug
def get_desc(): def get_desc():
return "ogg : Ogg-tremor library for ogg audio decoding" return "ogg : Ogg-tremor library for ogg audio decoding"
@ -28,11 +28,11 @@ def create(target):
'tremor/mapping0.c' 'tremor/mapping0.c'
]) ])
myModule.compile_version_CC(1989, gnu=True) myModule.compile_version_CC(1989, gnu=True)
myModule.compile_flags_CC("-Wno-duplicate-decl-specifier") myModule.compile_flags('c', "-Wno-duplicate-decl-specifier")
if target.name=="Android": if target.name=="Android":
myModule.compile_flags_CC("-DBYTE_ORDER=1") myModule.compile_flags('c', "-DBYTE_ORDER=1")
myModule.compile_flags_CC("-DBIG_ENDIAN=0") myModule.compile_flags('c', "-DBIG_ENDIAN=0")
myModule.compile_flags_CC("-DLITTLE_ENDIAN=1") myModule.compile_flags('c', "-DLITTLE_ENDIAN=1")
myModule.add_export_path(tools.get_current_path(__file__)) myModule.add_export_path(tools.get_current_path(__file__))
myModule.add_path(tools.get_current_path(__file__)+"/ogg/") myModule.add_path(tools.get_current_path(__file__)+"/ogg/")