From 3fd827f10e1a3bda0c01e1a9b865938c7feb1672 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 8 Sep 2016 21:35:02 +0200 Subject: [PATCH] [DEV] update to future lutin 2.0 --- lutin_curl-bin.py | 4 ++-- lutin_curl.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lutin_curl-bin.py b/lutin_curl-bin.py index 3930e8f..bfd5ef9 100644 --- a/lutin_curl-bin.py +++ b/lutin_curl-bin.py @@ -74,11 +74,11 @@ def create(target, module_name): 'curl/lib/nonblock.c', 'curl/lib/warnless.c', ]) - my_module.compile_flags('c', [ + my_module.add_flag('c', [ '-DHAVE_CONFIG_H', ]) 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")) # Bad lib implementation ... my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "lib")) diff --git a/lutin_curl.py b/lutin_curl.py index 79e624c..c71958a 100644 --- a/lutin_curl.py +++ b/lutin_curl.py @@ -145,16 +145,16 @@ def create(target, module_name): 'curl/lib/vtls/gskit.c', 'curl/lib/vtls/mbedtls.c', ]) - my_module.compile_flags('c', [ + my_module.add_flag('c', [ '-Dlibcurl_EXPORTS', '-DBUILDING_LIBCURL', '-DHAVE_CONFIG_H', '-DCURL_DISABLE_LDAP', ]) my_module.compile_version("c", 1989, gnu=True) - my_module.add_module_depend('z') - my_module.add_module_depend('openssl') - my_module.add_module_depend('ssh2') + my_module.add_depend('z') + my_module.add_depend('openssl') + 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", "include")) my_module.add_path(os.path.join(tools.get_current_path(__file__), "curl", "include", "curl"))