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

Explicit Static Linking Failure #68

Open
0xcaff opened this issue Jun 7, 2018 · 1 comment
Open

Explicit Static Linking Failure #68

0xcaff opened this issue Jun 7, 2018 · 1 comment

Comments

@0xcaff
Copy link

0xcaff commented Jun 7, 2018

I'm trying to build the rust-ffmpeg-sys library with static linking.

What Happens

It fails to link statically and instead links some libraries dynamically because Config.statik doesn't fail if a static library couldn't be found.

https://github.com/meh/rust-ffmpeg-sys/blob/9056485f7fe4a42e3a68d08761b5a7817339da23/build.rs#L518-L521

What Should Happen

Terminal calls should throw if a static library is desired and couldn't be found. Maybe another function should be added with this behavior.

@hombit
Copy link

hombit commented Aug 16, 2021

Any updates here?

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

2 participants