Merge 3.5.

This commit is contained in:
Stefan Krah 2016-08-03 11:18:54 +02:00
commit 0d60c56e7e
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,8 @@ class UnixCCompiler(CCompiler):
if sys.platform[:6] == "darwin":
# MacOSX's linker doesn't understand the -R flag at all
return "-L" + dir
elif sys.platform[:7] == "freebsd":
return "-Wl,-rpath=" + dir
elif sys.platform[:5] == "hp-ux":
if self._is_gcc(compiler):
return ["-Wl,+s", "-L" + dir]