Skip to content

Instantly share code, notes, and snippets.

@yoshikig
Created August 26, 2015 01:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoshikig/2bb34063762114a44b92 to your computer and use it in GitHub Desktop.
Save yoshikig/2bb34063762114a44b92 to your computer and use it in GitHub Desktop.
[Chinachu] Fix ffmpeg compile failure
diff --git a/chinachu b/chinachu
index 7ff0370..b6badf4 100755
--- a/chinachu
+++ b/chinachu
@@ -456,7 +456,7 @@ chinachu_installer_ffmpeg () {
--enable-filter=yadif \
--enable-filter=trim \
--extra-cflags="-I${USR_DIR}/include --static" \
- --extra-ldflags="-L${USR_DIR}/lib"
+ --extra-ldflags="-L${USR_DIR}/lib -static"
make || fail "couldn't make ffmpeg"
make install && make clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment