[New-bugs-announce] [issue36353] rpath incorrectly handled on OSX by build_ext

Toon Verstraelen report at bugs.python.org
Mon Mar 18 13:31:55 EDT 2019


New submission from Toon Verstraelen <toon.verstraelen at gmail.com>:

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

----------
components: Distutils
messages: 338263
nosy: Toon Verstraelen, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: rpath incorrectly handled on OSX by build_ext
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36353>
_______________________________________


More information about the New-bugs-announce mailing list