diff options
| author | Stefan Krah <skrah@bytereef.org> | 2016-08-03 09:18:54 (GMT) |
|---|---|---|
| committer | Stefan Krah <skrah@bytereef.org> | 2016-08-03 09:18:54 (GMT) |
| commit | 0d60c56e7e37cf7ef94ffd9591cf803351c33cfa (patch) | |
| tree | 2d8eba3794288db4803452c9c8cf335b2ed8de03 | |
| parent | 91494d3b738bf48a5a8fc2d98fbf2912b09e8ae0 (diff) | |
| parent | 9de620e970230a7c4fc933fcdfe292260670eb25 (diff) | |
| download | cpython-0d60c56e7e37cf7ef94ffd9591cf803351c33cfa.zip cpython-0d60c56e7e37cf7ef94ffd9591cf803351c33cfa.tar.gz cpython-0d60c56e7e37cf7ef94ffd9591cf803351c33cfa.tar.bz2 | |
Merge 3.5.
| -rw-r--r-- | Lib/distutils/unixccompiler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py index 92d14df..3f321c2 100644 --- a/Lib/distutils/unixccompiler.py +++ b/Lib/distutils/unixccompiler.py @@ -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] |
