build: Add support to gnu_dir
Change-Id: If7d9d0c4194ee422c3a516cac69f64334d1ad979
diff --git a/wscript b/wscript
index 7bf7d90..e1d56e6 100644
--- a/wscript
+++ b/wscript
@@ -7,9 +7,7 @@
def options(opt):
- opt.load(['compiler_c', 'compiler_cxx', 'qt4'])
- if Utils.unversioned_sys_platform () != "darwin":
- opt.load('gnu_dirs');
+ opt.load(['compiler_c', 'compiler_cxx', 'qt4', 'gnu_dirs'])
opt.load(['default-compiler-flags', 'boost', 'protoc',
'doxygen', 'sphinx_build'],
@@ -25,10 +23,8 @@
def configure(conf):
conf.load(['compiler_c', 'compiler_cxx', 'qt4',
- 'default-compiler-flags', 'boost', 'protoc',
+ 'default-compiler-flags', 'boost', 'protoc', 'gnu_dirs',
'doxygen', 'sphinx_build'])
- if Utils.unversioned_sys_platform () != "darwin":
- opt.load('gnu_dirs');
conf.check_cfg(package='libndn-cxx', args=['--cflags', '--libs'],
uselib_store='NDN_CXX', mandatory=True)