summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-27 20:32:10 +0100
committerDavid Robillard <d@drobilla.net>2017-02-27 20:32:10 +0100
commit808b1de00e29421b542fa8ef781979351dc0fcf7 (patch)
tree42840d22390df62fe3e827960f7e05e3bea3591d /wscript
parentcbf8aec5371fa09b9e7f525727e65c9a5d750769 (diff)
downloadraul-808b1de00e29421b542fa8ef781979351dc0fcf7.tar.gz
raul-808b1de00e29421b542fa8ef781979351dc0fcf7.tar.bz2
raul-808b1de00e29421b542fa8ef781979351dc0fcf7.zip
Remove use of Options.platform
This is removed in waf 1.9 and isn't correct for cross-compiling anyway.
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index acb6d21..16ef9f4 100644
--- a/wscript
+++ b/wscript
@@ -43,7 +43,7 @@ def configure(conf):
autowaf.display_header('Raul Configuration')
autowaf.set_cxx11_mode(conf)
- if Options.platform == 'darwin':
+ if conf.env.DEST_OS == 'darwin':
conf.check(framework_name='CoreServices')
conf.env.FRAMEWORK_RAUL = ['CoreServices']
@@ -82,13 +82,13 @@ def build(bld):
# Pkgconfig file
dict = {'RAUL_PC_LIBS': ' '}
- if Options.platform == 'darwin':
+ if bld.env.DEST_OS == 'darwin':
dict = {'RAUL_PC_LIBS': '-framework CoreServices'}
autowaf.build_pc(bld, 'RAUL', RAUL_VERSION, '',
'GLIB GTHREAD', subst_dict=dict)
framework = ''
- if Options.platform == 'darwin':
+ if bld.env.DEST_OS == 'darwin':
framework = ' CoreServices '
if bld.env.BUILD_TESTS: