diff options
author | Christian Ambach <ambi@samba.org> | 2013-06-20 18:26:04 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2013-08-20 10:52:15 +0200 |
commit | 0f17c8d4252db7b4956733c2d83dac300417bd92 (patch) | |
tree | b97d9a09b67bfde08af7287bbe384a91333bd429 /buildtools | |
parent | 7af0c4fb88cced5eebd5680d9b0d4b3e9c79b318 (diff) | |
download | samba-0f17c8d4252db7b4956733c2d83dac300417bd92.tar.gz |
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>
(cherry picked from commit ce8fbdf76ee2792d011d9da4d0116f04d9656886)
Diffstat (limited to 'buildtools')
-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 17aef278e9f..d115b5f4c62 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) |