Skip to content

Commit 086045e

Browse files
committed
Update cross_compile_ffmpeg.sh
1 parent ddbf51b commit 086045e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cross_compile_ffmpeg.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -905,8 +905,8 @@ build_sdl() {
905905
local prefix=$(basename $cross_prefix)
906906
local bin_dir=$(dirname $cross_prefix)
907907
sed -i "s/-mwindows//" "$PKG_CONFIG_PATH/sdl.pc" # allow ffmpeg to output anything to console :|
908-
sed -i "s/-mwindows//" "$mingw_w64_x86_64_prefix/bin/sdl-config" # update this one too for good measure, in case something else uses it
909-
cp "$mingw_w64_x86_64_prefix/bin/sdl-config" "$bin_dir/${prefix}sdl-config" # this is the only one in the PATH so use it for now [though FFmpeg doesn't use it?]
908+
sed -i "s/-mwindows//" "$mingw_w64_x86_64_prefix/bin/sdl-config" # update this one too for good measure, FFmpeg can use either, not sure which one it defaults to...
909+
cp "$mingw_w64_x86_64_prefix/bin/sdl-config" "$bin_dir/${prefix}sdl-config" # this is the only mingw dir in the PATH so use it for now [though FFmpeg doesn't use it?]
910910
cd ..
911911
rmdir temp
912912
}

0 commit comments

Comments
 (0)