diff options
author | Andreas Schneider <asn@samba.org> | 2018-01-19 15:34:32 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-01-25 15:04:21 +0100 |
commit | 0970c824c61b9c89051b347609611833d239ee00 (patch) | |
tree | 8c205850592c2010bd049bdfca2dcbe374bea8f0 /buildtools | |
parent | 3bf03879e16763033b4bbb1f939f717093707d79 (diff) | |
download | samba-0970c824c61b9c89051b347609611833d239ee00.tar.gz |
wafsamba: Allow passing 'lib' to CHECK_STRUCTURE_MEMBER
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13238
We need to be able to point it to the right header location, so we need
to be able to pass the 'lib' that it gets set.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit 87f105d76ce074bff08fd507d72568be88d48d00)
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 7940a7d4fe8..cc08e0d5c3d 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -454,7 +454,8 @@ def CHECK_CODE(conf, code, define, @conf def CHECK_STRUCTURE_MEMBER(conf, structname, member, - always=False, define=None, headers=None): + always=False, define=None, headers=None, + lib=None): '''check for a structure member''' if define is None: define = 'HAVE_%s' % member.upper() @@ -463,6 +464,7 @@ def CHECK_STRUCTURE_MEMBER(conf, structname, member, define, execute=False, link=False, + lib=lib, always=always, headers=headers, local_include=False, |