diff options
author | David Robillard <d@drobilla.net> | 2011-10-19 01:27:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-19 01:27:41 +0000 |
commit | e152eec9b7a1282a544714d3f5f86e1874ed63ce (patch) | |
tree | a2f1f485a0b200917a42c1cd5959bbfbb186478e | |
parent | f43817da814d256637a1e41872b9a74321b8414f (diff) | |
download | suil-e152eec9b7a1282a544714d3f5f86e1874ed63ce.tar.gz suil-e152eec9b7a1282a544714d3f5f86e1874ed63ce.tar.bz2 suil-e152eec9b7a1282a544714d3f5f86e1874ed63ce.zip |
Check for LV2 extensions via pkg-config (new style in LV2 SVN).
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3547 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | wscript | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -36,13 +36,13 @@ def options(opt): def configure(conf): conf.load('compiler_c') conf.load('compiler_cxx') - conf.line_just = 56 + conf.line_just = 46 autowaf.configure(conf) autowaf.display_header('Suil Configuration') conf.env.append_unique('CFLAGS', '-std=c99') - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/extensions/ui/ui.h') + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-extensions-ui', uselib_store='LV2_UI') autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2', atleast_version='2.18.0', mandatory=False) @@ -102,7 +102,8 @@ def build(bld): vnum = SUIL_LIB_VERSION, install_path = '${LIBDIR}', cflags = cflags, - linkflags = linkflags) + linkflags = linkflags, + uselib = 'LV2_UI') if bld.is_defined('HAVE_GTK2') and bld.is_defined('HAVE_QT4'): obj = bld(features = 'cxx cxxshlib', |