diff options
author | Matthieu Patou <mat@matws.net> | 2010-10-30 20:22:22 +0400 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2010-10-30 16:50:03 +0000 |
commit | 4e30a5dd0b3ca2b56d228730ad4d43f1986f39fa (patch) | |
tree | 461463fb0a378bedb0e267d10e61af6d01faed67 | |
parent | 4dee76f1cd1364718ba385121c00b8b8eb1c917e (diff) | |
download | samba-4e30a5dd0b3ca2b56d228730ad4d43f1986f39fa.tar.gz samba-4e30a5dd0b3ca2b56d228730ad4d43f1986f39fa.tar.bz2 samba-4e30a5dd0b3ca2b56d228730ad4d43f1986f39fa.zip |
build: make this test darwin only as it mess a bit more the freebsd build
-rw-r--r-- | source4/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/wscript b/source4/wscript index 333079d48b..cbc0bf49ac 100644 --- a/source4/wscript +++ b/source4/wscript @@ -86,7 +86,7 @@ def configure(conf): conf.check_python_version((2,4,2)) conf.check_python_headers(mandatory=True) - if not conf.env['HAVE_ENVIRON_DECL']: + if sys.platform == 'darwin' and not conf.env['HAVE_ENVIRON_DECL']: if not conf.CHECK_SHLIB_W_PYTHON("Checking if -single_module is not needed"): conf.env.append_value('shlib_LINKFLAGS', ['-single_module']) if not conf.CHECK_SHLIB_W_PYTHON("Checking if -undefined dynamic_lookup is not need"): |