diff options
author | David Robillard <d@drobilla.net> | 2018-09-15 11:38:08 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-15 11:44:26 +0200 |
commit | bfa266ef280f7be0da8d42275c8869b54ea41442 (patch) | |
tree | dbd0e46325e97b7148b498cd0e7cedec27fa037b | |
parent | 8093902d95568f8de75aae763ca348783d483361 (diff) |
Use autowaf.set_lib_env()
-rw-r--r-- | wscript | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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')) |