[DEV] update to future lutin 2.0

This commit is contained in:
Edouard DUPIN 2016-09-08 21:35:02 +02:00
parent 001a4f6f06
commit 3fd827f10e
2 changed files with 6 additions and 6 deletions

View File

@ -74,11 +74,11 @@ def create(target, module_name):
'curl/lib/nonblock.c', 'curl/lib/nonblock.c',
'curl/lib/warnless.c', 'curl/lib/warnless.c',
]) ])
my_module.compile_flags('c', [ my_module.add_flag('c', [
'-DHAVE_CONFIG_H', '-DHAVE_CONFIG_H',
]) ])
my_module.compile_version("c", 1989, gnu=True) my_module.compile_version("c", 1989, gnu=True)
my_module.add_module_depend('curl') my_module.add_depend('curl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "src")) my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "src"))
# Bad lib implementation ... # Bad lib implementation ...
my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "lib")) my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "lib"))

View File

@ -145,16 +145,16 @@ def create(target, module_name):
'curl/lib/vtls/gskit.c', 'curl/lib/vtls/gskit.c',
'curl/lib/vtls/mbedtls.c', 'curl/lib/vtls/mbedtls.c',
]) ])
my_module.compile_flags('c', [ my_module.add_flag('c', [
'-Dlibcurl_EXPORTS', '-Dlibcurl_EXPORTS',
'-DBUILDING_LIBCURL', '-DBUILDING_LIBCURL',
'-DHAVE_CONFIG_H', '-DHAVE_CONFIG_H',
'-DCURL_DISABLE_LDAP', '-DCURL_DISABLE_LDAP',
]) ])
my_module.compile_version("c", 1989, gnu=True) my_module.compile_version("c", 1989, gnu=True)
my_module.add_module_depend('z') my_module.add_depend('z')
my_module.add_module_depend('openssl') my_module.add_depend('openssl')
my_module.add_module_depend('ssh2') my_module.add_depend('ssh2')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "lib")) my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "lib"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "include")) my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "include"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "include", "curl")) my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "include", "curl"))