diff options
author | Stefan Krah <skrah@bytereef.org> | 2016-08-03 11:18:54 +0200 |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2016-08-03 11:18:54 +0200 |
commit | 46de14a777a89ad1b733c7bd355c002a8ff7978d (patch) | |
tree | ec816eaeed16781ebe7bada26dd80fea746a52d0 | |
parent | 7c0cfe7a3e4123bbb66f540e829e98673ca1ed7f (diff) | |
parent | c3f23f70001777fd66c7c33b9101bb114540a53a (diff) | |
download | python-setuptools-git-46de14a777a89ad1b733c7bd355c002a8ff7978d.tar.gz |
Merge 3.5.
-rw-r--r-- | unixccompiler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unixccompiler.py b/unixccompiler.py index 92d14dfe..3f321c28 100644 --- a/unixccompiler.py +++ b/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] |