diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-06-24 18:43:00 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-06-24 18:43:00 +0400 |
commit | 645590432717ad9938bf5c1764ab337d31971f04 (patch) | |
tree | 10cf578c016f808a4ea74d3bcbe56f2329c43ef5 /build_ffmpeg.sh | |
parent | da6e18452474dab6e5266cfbef8d31602c9afd1e (diff) |
Use strip without prefix when building 32-bit
Allows building with a "limited" toolchain
Diffstat (limited to 'build_ffmpeg.sh')
-rw-r--r-- | build_ffmpeg.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build_ffmpeg.sh b/build_ffmpeg.sh index b4877c9c..bda9236b 100644 --- a/build_ffmpeg.sh +++ b/build_ffmpeg.sh @@ -19,7 +19,11 @@ make_dirs() ( ) strip_libs() { - x86_64-w64-mingw32-strip lib*/*-lav-*.dll + if [ "${arch}" == "x86_64" ]; then + x86_64-w64-mingw32-strip lib*/*-lav-*.dll + else + strip lib*/*-lav-*.dll + fi } copy_libs() ( |