Skip to content

Commit

Permalink
Fix static linking errors caused by auto-enabled unsupported libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Jul 8, 2020
1 parent ceb14ca commit 11247e2
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 @@ -167,6 +167,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 11247e2

Please sign in to comment.