Closed mtikekar closed 4 years ago
Thank you for opening a PR. Something strange has happened with travis CI though. I'll investigate.
I have seen this on another repo as well. It is probably because I am not a regular contributor on this repo. It might be easiest if you make the commit yourself.
Ok, so just that simple. I guess Mach-O actually isn't as different from ELF as I had first thought.
I've made an additional change to which -rpath
entries are added. Before I upload to pypi.org, can you confirm that this still works for your case?
Yes, it works. Thanks!
Released in 1.6
@mtikekar, @mdavidsaver, thanks - this fixed pygolang build system to finally work on macOS:
@loader_path prefix requires dependent libraries to be in the same directory or to use install_name_tool to change the name after linking. With this fix, linker's -rpath can be used instead.