Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a5c2a51

Browse files
author
Skip Montanaro
committed
merge from trunk
1 parent 6ccc703 commit a5c2a51

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,12 +319,13 @@ def detect_modules(self):
319319
# the environment variable is not set even though the value were passed
320320
# into configure and stored in the Makefile (issue found on OS X 10.3).
321321
for env_var, arg_name, dir_list in (
322+
('LDFLAGS', '-R', self.compiler.runtime_library_dirs),
322323
('LDFLAGS', '-L', self.compiler.library_dirs),
323324
('CPPFLAGS', '-I', self.compiler.include_dirs)):
324325
env_val = sysconfig.get_config_var(env_var)
325326
if env_val:
326327
# To prevent optparse from raising an exception about any
327-
# options in env_val that is doesn't know about we strip out
328+
# options in env_val that it doesn't know about we strip out
328329
# all double dashes and any dashes followed by a character
329330
# that is not for the option we are dealing with.
330331
#

0 commit comments

Comments
 (0)