-L in stead. Fixes #723495.
# the configuration data stored in the Python installation, so
# we use this hack.
compiler = os.path.basename(sysconfig.get_config_var("CC"))
+ if sys.platform[:6] == "darwin":
+ # MacOSX's linker doesn't understand the -R flag at all
+ return "-L" + dir
if compiler == "gcc" or compiler == "g++":
return "-Wl,-R" + dir
else:
- Distutils: Translate spaces in the machine name to underscores
(Power Macintosh -> Power_Macintosh)
+
+- Distutils: on Mac OS X don't use -R for runtime_library_dirs, use
+ -L in stead (#723495).
- Backported SF #658233, continuation lines in .mo file metadata
crashed gettext.GNUTranslations parsing. Also, export more symbols