diff options
author | David Robillard <d@drobilla.net> | 2017-02-27 20:32:10 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-27 20:32:10 +0100 |
commit | 808b1de00e29421b542fa8ef781979351dc0fcf7 (patch) | |
tree | 42840d22390df62fe3e827960f7e05e3bea3591d | |
parent | cbf8aec5371fa09b9e7f525727e65c9a5d750769 (diff) | |
download | raul-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.
-rw-r--r-- | wscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |