[DEV] update next lutin version

This commit is contained in:
Edouard DUPIN 2015-09-24 21:44:04 +02:00
parent 4ab245c028
commit 4cd1339927

View File

@ -9,25 +9,25 @@ def get_desc():
def create(target):
if target.name=="Windows":
#http://glew.sourceforge.net/index.html
myModule = module.Module(__file__, 'glew', 'PREBUILD')
my_module = module.Module(__file__, 'glew', 'PREBUILD')
myModule.add_export_path(tools.get_current_path(__file__) + "/glew/include/")
my_module.add_export_path(tools.get_current_path(__file__) + "/glew/include/")
if target.config["bus-size"] == "32":
myModule.add_export_flag('link', [
my_module.add_export_flag('link', [
tools.get_current_path(__file__) + "/glew/lib/Release/Win32/glew32s.lib"
])
else:
myModule.add_export_flag('link', [
my_module.add_export_flag('link', [
tools.get_current_path(__file__) + "/glew/lib/Release/x64/glew32s.lib",
])
myModule.add_export_flag('link', [
my_module.add_export_flag('link', [
"-lopengl32",
"-lgdi32",
"-static-libgcc",
"-static-libstdc++"])
# add the currrent module at the
return myModule
return my_module
else:
return None