File tree 1 file changed +20
-9
lines changed
1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,27 @@ if [ -z "$cpu_count" ]; then
32
32
fi
33
33
fi
34
34
35
- type=win64 # win32 or win64
35
+ type=win64 # win32 or win64 or winarm64
36
+
37
+ case $type in
38
+ win32)
39
+ arch=x86
40
+ host=i686-w64-mingw32
41
+ ;;
42
+ win64)
43
+ arch=x86_64
44
+ host=x86_64-w64-mingw32
45
+ ;;
46
+ winarm64)
47
+ arch=aarch64
48
+ host=aarch64-w64-mingw32
49
+ ;;
50
+ * )
51
+ echo " The provided CPU architecture is not supported."
52
+ exit 1
53
+ ;;
54
+ esac
36
55
37
- host=x86_64-w64-mingw32
38
- if [[ $type == win32 ]]; then
39
- host=i686-w64-mingw32
40
- fi
41
56
prefix=$( pwd) /sandbox_quick/$type /quick_install/install_root
42
57
export PKG_CONFIG_PATH=" $prefix /lib/pkgconfig" # let ffmpeg find our dependencies [currently not working :| ]
43
58
67
82
cd $ffmpeg_dir
68
83
# not ready for this since we don't reconfigure after changes: # git pull
69
84
if [[ ! -f ffbuild/config.mak ]]; then
70
- arch=x86_64
71
- if [[ $type == win32 ]]; then
72
- arch=x86
73
- fi
74
85
# shouldn't really ever need these?
75
86
./configure --enable-gpl --enable-libx264 --enable-nonfree \
76
87
--enable-debug=3 --disable-optimizations \
You can’t perform that action at this time.
0 commit comments