[Python-Dev] Where is this flag coming from?
Skip Montanaro
skip@pobox.com
Wed, 9 Oct 2002 22:08:34 -0500
>> Shouldn't distutils be taught what to do with runtime_library_dirs
>> for SCO and MacOSX?
Guido> My thoughts exactly.
Given that MacOSX's linker doesn't seem to understand -R at all (no matter
how you deliver it), I adjusted the code in runtime_library_dir_option (in
unixccompiler.py) to return "-L" + dir instead of either of the "-R"
possibilities. This is probably not as good as it could be, but I couldn't
tease anything from the ld(1) man page which looked to me like an equivalent
to "-R" or LD_RUN_PATH. Perhaps someone with more experience with MacOSX or
link editors in general would like to take a peek at the problem. If so,
let me know and I'll be happy to shoot you a copy of the ld(1) man page.
Skip