File tree Expand file tree Collapse file tree 8 files changed +9
-3
lines changed
Expand file tree Collapse file tree 8 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export CONFIGURE="./configure"
2727export CONFIGURE_OPTIONS=" --host aarch64-linux-gnu"
2828export MAKE=" make -j$( nproc) "
2929export MESON_OPTIONS=" --cross-file=$SCRIPT_PATH /cross-compilation.meson"
30+ export SED=" sed"
3031
3132# Library specific options
3233export DE265_OPTIONS=" "
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export CONFIGURE="./configure"
2727export CONFIGURE_OPTIONS=" "
2828export MAKE=" make -j$( nproc) "
2929export MESON_OPTIONS=" "
30+ export SED=" sed"
3031
3132# Library specific options
3233export DE265_OPTIONS=" "
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export CONFIGURE="./configure"
2727export CONFIGURE_OPTIONS=" "
2828export MAKE=" make -j$( nproc) "
2929export MESON_OPTIONS=" "
30+ export SED=" sed"
3031
3132# Library specific options
3233export DE265_OPTIONS=" "
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export CONFIGURE="./configure"
2727export CONFIGURE_OPTIONS=" --host arm64-apple-macos13"
2828export MAKE=" make -j$( sysctl -n hw.logicalcpu) "
2929export MESON_OPTIONS=" --cross-file=$SCRIPT_PATH /cross-compilation.meson"
30+ export SED=" gsed"
3031
3132# Library specific options
3233export DE265_OPTIONS=" "
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export CONFIGURE="./configure"
2727export CONFIGURE_OPTIONS=" "
2828export MAKE=" make -j$( sysctl -n hw.logicalcpu) "
2929export MESON_OPTIONS=" "
30+ export SED=" gsed"
3031
3132# Library specific options
3233export DE265_OPTIONS=" "
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ mkdir __build
1010cd __build
1111CFLAGS=$FLAGS meson setup .. $MESON_OPTIONS --buildtype=$MESON_BUILD_TYPE --prefix=$INSTALL_PREFIX --default-library=static -Dxlib=disabled -Dquartz=disabled -Dfontconfig=enabled -Dfreetype=enabled -Dtests=disabled
1212
13- sed -i ' s/#define CAIRO_HAS_PTHREAD 1/#define CAIRO_NO_MUTEX 1/' config.h
13+ $SED -i ' s/#define CAIRO_HAS_PTHREAD 1/#define CAIRO_NO_MUTEX 1/' config.h
1414
1515ninja install
Original file line number Diff line number Diff line change 33
44cd Dependencies/ffi
55
6- sed -i ' s/AC_PREREQ(\[2.71\])//' configure.ac
7- sed -i ' s/AC_CHECK_INCLUDES_DEFAULT//' configure.ac
6+ $SED -i ' s/AC_PREREQ(\[2.71\])//' configure.ac
7+ $SED -i ' s/AC_CHECK_INCLUDES_DEFAULT//' configure.ac
88rm include/ffi.h
99rm include/fficonfig.h
1010
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export CONFIGURE="emconfigure ./configure"
2727export CONFIGURE_OPTIONS=" --host aarch64-linux-gnu"
2828export MAKE=" emmake make -j$( nproc) "
2929export MESON_OPTIONS=" --cross-file=$SCRIPT_PATH /cross-compilation.meson"
30+ export SED=" sed"
3031
3132# Library specific options
3233export DE265_OPTIONS=" --disable-sse"
You can’t perform that action at this time.
0 commit comments