Skip to content

Conversation

@bitplane
Copy link

@bitplane bitplane commented Jul 29, 2021

Apple's binutils ld ships with the default of -undefined,error so it will error on link, as the download_in_progress symbol is stripped from the binary.
Also, it uses -install_name rather than -soname

I didn't change the name of the .so file. Might be a good idea to use cmake to support cross-platform compilation instead, but this gets things working for me.

Apple's binutils ld removes externs from linked .a files unless you
pass the -all_load flag, resulting in a build-time undefined
symbol.

Also, it uses -install_name rather than -soname

I didn't change the name of the .so file. Might be a good idea to use
cmake to support cross-platform compilation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant