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

Incorrect linker flag to build shared-lib on darwin #177

Open
dmacks opened this issue Sep 17, 2023 · 0 comments
Open

Incorrect linker flag to build shared-lib on darwin #177

dmacks opened this issue Sep 17, 2023 · 0 comments

Comments

@dmacks
Copy link

dmacks commented Sep 17, 2023

OS X's compiler (at least on older versions, not sure about current) only accepts -dynamiclib not -shared. It's the same meaning, no idea why Apple decided to use their own unique flag instead. So in the Makefile block where SO is set according to platform, a SHAREDFLAG could also be set and propagated to the later recipes.

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

No branches or pull requests

1 participant