[PATCH] build: allow some python variable overrides
Paul Kölle
paul at subsignal.org
Tue Feb 4 03:06:41 MST 2014
Am 03.02.2014 19:45, schrieb Paul Kölle:
> Hi Zacarias,
>
> I think the code could use some stylistic improvements if you dont mind ;)
[snipp]
> os_env = dict(os.environ)
>
> if os_env.get('python_LDFLAGS', None):
> conf.log.write("python_LDFLAGS override from environment = %r\n" %
> (override_python_LDFLAGS))
> python_LDFLAGS = override_python_LDFLAGS
>
> cheers
> Paul
>
Gah, missing assignment ;( Corrected version:
os_env = dict(os.environ)
override_python_LDFLAGS = os_env.get('python_LDFLAGS', None)
if override_python_LDFLAGS:
conf.log.write("python_LDFLAGS override from environment = %r\n" %
(override_python_LDFLAGS))
python_LDFLAGS = override_python_LDFLAGS
More information about the samba-technical
mailing list