Bug #1765375: fix stripping of unwanted LDFLAGS.
This commit is contained in:
parent
8ec5754086
commit
915c87d3e5
3
setup.py
3
setup.py
|
@ -302,7 +302,8 @@ class PyBuildExt(build_ext):
|
|||
# strip out double-dashes first so that we don't end up with
|
||||
# substituting "--Long" to "-Long" and thus lead to "ong" being
|
||||
# used for a library directory.
|
||||
env_val = re.sub(r'(^|\s+)-(-|(?!%s))' % arg_name[1], '', env_val)
|
||||
env_val = re.sub(r'(^|\s+)-(-|(?!%s))' % arg_name[1],
|
||||
' ', env_val)
|
||||
parser = optparse.OptionParser()
|
||||
# Make sure that allowing args interspersed with options is
|
||||
# allowed
|
||||
|
|
Loading…
Reference in New Issue