mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
fixed crash in xapian-core configure
use a copy of configure_env to prevent edits on what's being iterated
This commit is contained in:
@ -324,7 +324,7 @@ class MakeBuilder(Builder):
|
||||
env['CFLAGS'] = env['CFLAGS'] + ' -fPIC'
|
||||
env['CXXFLAGS'] = env['CXXFLAGS'] + ' -fPIC'
|
||||
if self.configure_env:
|
||||
for k in self.configure_env:
|
||||
for k in list(self.configure_env):
|
||||
if k.startswith('_format_'):
|
||||
v = self.configure_env.pop(k)
|
||||
v = v.format(buildEnv=self.buildEnv, env=env)
|
||||
|
Reference in New Issue
Block a user