aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-15 11:38:08 +0200
committerDavid Robillard <d@drobilla.net>2018-09-15 11:44:26 +0200
commitbfa266ef280f7be0da8d42275c8869b54ea41442 (patch)
treedbd0e46325e97b7148b498cd0e7cedec27fa037b
parent8093902d95568f8de75aae763ca348783d483361 (diff)
Use autowaf.set_lib_env()
-rw-r--r--wscript6
1 files changed, 1 insertions, 5 deletions
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'))