Skip to content

Commit

Permalink
Merge pull request meh#86 from kornelski/autolibs
Browse files Browse the repository at this point in the history
Fix static linking errors caused by auto-enabled unsupported libraries
  • Loading branch information
kornelski authored Aug 3, 2020
2 parents 032a718 + 11247e2 commit 1979724
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ffmpeg-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ fn build() -> io::Result<()> {

configure.arg("--enable-pic");

// stop autodetected libraries enabling themselves, causing linking errors
configure.arg("--disable-autodetect");

// do not build programs since we don't need them
configure.arg("--disable-programs");

Expand Down

0 comments on commit 1979724

Please sign in to comment.