From bfa266ef280f7be0da8d42275c8869b54ea41442 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 15 Sep 2018 11:38:08 +0200 Subject: Use autowaf.set_lib_env() --- wscript | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 3190c75..747ecee 100644 --- a/wscript +++ b/wscript @@ -67,13 +67,9 @@ def configure(conf): conf.env['BUILD_STATIC'] = (Options.options.test or Options.options.static) autowaf.define(conf, 'PUGL_VERSION', PUGL_VERSION) + autowaf.set_lib_env(conf, 'pugl', PUGL_VERSION) conf.write_config_header('pugl_config.h', remove=False) - conf.env['INCLUDES_PUGL'] = ['%s/pugl-%s' % (conf.env['INCLUDEDIR'], - PUGL_MAJOR_VERSION)] - conf.env['LIBPATH_PUGL'] = [conf.env['LIBDIR']] - conf.env['LIB_PUGL'] = ['pugl-%s' % PUGL_MAJOR_VERSION]; - autowaf.display_msg(conf, "OpenGL support", conf.is_defined('HAVE_GL')) autowaf.display_msg(conf, "Cairo support", conf.is_defined('HAVE_CAIRO')) autowaf.display_msg(conf, "Verbose console output", conf.is_defined('PUGL_VERBOSE')) -- cgit v1.2.1