This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: rpath incorrectly handled on OSX by build_ext
Type: behavior Stage: resolved
Components: Distutils Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Toon Verstraelen, dstufft, eric.araujo, steve.dower
Priority: normal Keywords: patch

Created on 2019-03-18 17:31 by Toon Verstraelen, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 12418 closed python-dev, 2019-03-18 17:44
Messages (2)
msg338263 - (view) Author: Toon Verstraelen (Toon Verstraelen) * Date: 2019-03-18 17:31
When using the '-R' option of build_ext on OSX, e.g.

python setup.py -R some/path

it gets translated to the following clang compiler argument:

-L some/path

while it should be

-Wl,-rpath,some/path

See clang documentation for details: 

https://clang.llvm.org/docs/ClangCommandLineReference.html#linker-flags
msg386301 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-03 18:16
Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools
History
Date User Action Args
2022-04-11 14:59:12adminsetgithub: 80534
2021-02-03 18:16:20steve.dowersetstatus: open -> closed

nosy: + steve.dower
messages: + msg386301

resolution: out of date
stage: patch review -> resolved
2019-03-18 17:44:32python-devsetkeywords: + patch
stage: patch review
pull_requests: + pull_request12372
2019-03-18 17:31:55Toon Verstraelencreate