[PATCH 29] Re: Disabling Python Modules
Petr Viktorin
pviktori at redhat.com
Wed Jan 25 12:19:25 UTC 2017
On 01/25/2017 09:29 AM, Stefan Metzmacher wrote:
> Hi Ian,
>
>> I can't be certain, but I think that may indeed be the last of them.
>> All wscript_build files that contain modules with deps= including
>> py*util, and LIBPYTHON, are now all covered.
>
> I know I'm late in the discussion, but is there a chance
> that we could avoid all changes like this:
>
> -bld.SAMBA3_PYTHON('pys3param',
> +if not bld.env.disable_python:
> + bld.SAMBA3_PYTHON('pys3param',
>
> And just to that globally within SAMBA_PYTHON()
> instead of changing each caller?
> The same applies to CHECK_BUNDLED_SYSTEM_PYTHON()
> and SAMBA_CHECK_PYTHON_HEADERS()
That would also conflicts with the Python3 enablement patches, where all
these calls eventually need to be wrapped for-loop to possibly build
with both Python versions.
--
Petr Viktorin
More information about the samba-technical
mailing list