Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow compilation on a Mac #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant