diff options
author | Christian Ambach <ambi@samba.org> | 2013-06-20 18:26:04 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2013-08-09 22:45:35 +0200 |
commit | ce8fbdf76ee2792d011d9da4d0116f04d9656886 (patch) | |
tree | a9379d407b71b1d2e72f7e72693020ef67e3c2af | |
parent | 9177a0d1c1c92c45ef92fbda55fc6dd8aeb76b6c (diff) | |
download | samba-ce8fbdf76ee2792d011d9da4d0116f04d9656886.tar.gz samba-ce8fbdf76ee2792d011d9da4d0116f04d9656886.tar.bz2 samba-ce8fbdf76ee2792d011d9da4d0116f04d9656886.zip |
waf: fix build on AIX7
the same works for AIX 5,6,7 so leave away the version specifics (as autoconf build did)
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-x | buildtools/wafsamba/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 17aef278e9..d115b5f4c6 100755 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -322,7 +322,7 @@ def configure(conf): else: conf.env.HAVE_LD_VERSION_SCRIPT = False - if sys.platform == "aix5" or sys.platform == "aix6": + if sys.platform.startswith('aix'): conf.DEFINE('_ALL_SOURCE', 1, add_to_cflags=True) # Might not be needed if ALL_SOURCE is defined # conf.DEFINE('_XOPEN_SOURCE', 600, add_to_cflags=True) |