File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -1352,8 +1352,17 @@ install_cross_compiler
1352
1352
1353
1353
export PKG_CONFIG_LIBDIR= # disable pkg-config from reverting back to and finding system installed packages [yikes]
1354
1354
1355
+ if [[ $OSTYPE == darwin* ]]; then
1356
+ # mac add some helper scripts
1357
+ mkdir mac_bin
1358
+ cd mac_bin
1359
+ curl https://raw.githubusercontent.com/rdp/ffmpeg-windows-build-helpers/master/patches/md5sum.mac -O md5sum || exit 1
1360
+ export PATH=$PATH :` pwd`
1361
+ cd ..
1362
+ fi
1363
+
1355
1364
original_path=" $PATH "
1356
- if [ -d " mingw-w64-i686" ]; then # they installed a 32-bit compiler
1365
+ if [ -d " mingw-w64-i686" ]; then # they installed a 32-bit compiler, build 32-bit everything
1357
1366
echo " Building 32-bit ffmpeg..."
1358
1367
host_target=' i686-w64-mingw32'
1359
1368
mingw_w64_x86_64_prefix=" $cur_dir /mingw-w64-i686/$host_target "
@@ -1368,7 +1377,7 @@ if [ -d "mingw-w64-i686" ]; then # they installed a 32-bit compiler
1368
1377
cd ..
1369
1378
fi
1370
1379
1371
- if [ -d " mingw-w64-x86_64" ]; then # they installed a 64-bit compiler
1380
+ if [ -d " mingw-w64-x86_64" ]; then # they installed a 64-bit compiler, build 64-bit everything
1372
1381
echo " Building 64-bit ffmpeg..."
1373
1382
host_target=' x86_64-w64-mingw32'
1374
1383
mingw_w64_x86_64_prefix=" $cur_dir /mingw-w64-x86_64/$host_target "
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # for mac...
3
+ /sbin/md5 -r " $@ "
You can’t perform that action at this time.
0 commit comments