From: Andreas Schneider Date: Tue, 29 Apr 2025 14:15:54 +0000 (+0200) Subject: wafsamba: Adjust value type from string name(s) to actual X-Git-Tag: tevent-0.17.0~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ffd15f086632831fc90f273b83666acd2d9aaf0;p=thirdparty%2Fsamba.git wafsamba: Adjust value type from string name(s) to actual Signed-off-by: Noel Power Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 95a4f3f3525..3d49907e3bb 100644 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -242,7 +242,7 @@ Currently the only tested value is 'smbtorture,smbd/smbd' for Samba'''), gr.add_option('--why-needed', help=("TARGET:DEPENDENCY check why TARGET needs DEPENDENCY"), - action='store', type='str', dest='WHYNEEDED', default=None) + action='store', type=str, dest='WHYNEEDED', default=None) gr.add_option('--show-duplicates', help=("Show objects which are included in multiple binaries or libraries"), @@ -290,7 +290,7 @@ Currently the only tested value is 'smbtorture,smbd/smbd' for Samba'''), action='store_true', dest='SIGN_RELEASE') gr.add_option('--tag', help='tag release in git at the same time', - type='string', action='store', dest='TAG_RELEASE') + type=str, action='store', dest='TAG_RELEASE') opt.add_option('--disable-python', help='do not generate python modules', diff --git a/wscript b/wscript index 1f0a41fb052..a6013fcf442 100644 --- a/wscript +++ b/wscript @@ -91,7 +91,7 @@ def options(opt): opt.add_option('--with-system-mitkdc', help=('Specify the path to the krb5kdc binary from MIT Kerberos'), - type="string", + type=str, dest='with_system_mitkdc', default=None) @@ -152,7 +152,7 @@ def options(opt): opt.add_option('--vendor-suffix', help=('Specify a vendor (or packager) name to include in the version string'), - type="string", + type=str, dest='SAMBA_VERSION_VENDOR_SUFFIX', default=None)