Skip to content

Commit ddbf51b

Browse files
committed
Update cross_compile_ffmpeg.sh
try to clarify what's going on with sdl...who else uses this thing?
1 parent 406f995 commit ddbf51b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cross_compile_ffmpeg.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -904,9 +904,9 @@ build_sdl() {
904904
cd temp # so paths will work out right
905905
local prefix=$(basename $cross_prefix)
906906
local bin_dir=$(dirname $cross_prefix)
907-
sed -i "s/-mwindows//" "$mingw_w64_x86_64_prefix/bin/sdl-config" # allow ffmpeg to output anything
908-
sed -i "s/-mwindows//" "$PKG_CONFIG_PATH/sdl.pc"
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
907+
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?]
910910
cd ..
911911
rmdir temp
912912
}

0 commit comments

Comments
 (0)