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

Add ability to set the suffix for libraries #420

Open
nirbheek opened this issue Oct 26, 2024 · 2 comments
Open

Add ability to set the suffix for libraries #420

nirbheek opened this issue Oct 26, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@nirbheek
Copy link
Contributor

For shared modules on macOS, the library suffix is often .so, but cargo will always create .dylib for cdylibs.

Is there a way for cargo-c to tell cargo what suffix to use for a shared library?

@lu-zero
Copy link
Owner

lu-zero commented Oct 26, 2024

I need to check if cargo has a mean to override that. That I recall is hardwired, but had been long since I looked that part.

@amyspark
Copy link
Contributor

See also rust-lang/cargo#1706 (comment)

@lu-zero lu-zero added the enhancement New feature or request label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants