You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
679 B
30 lines
679 B
4 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
./configure \
|
||
|
--prefix=${INSTALL_DIR} \
|
||
|
--host=${TARGET} \
|
||
|
--with-sysroot=${SYSROOT_PATH} \
|
||
|
--disable-shared \
|
||
|
--enable-static \
|
||
|
--with-pic \
|
||
|
--with-zlib \
|
||
|
--without-bzip2 \
|
||
|
--without-png \
|
||
|
--without-harfbuzz \
|
||
|
--without-brotli \
|
||
|
--without-old-mac-fonts \
|
||
|
--without-fsspec \
|
||
|
--without-fsref \
|
||
|
--without-quickdraw-toolbox \
|
||
|
--without-quickdraw-carbon \
|
||
|
--without-ats \
|
||
|
CC=${FAM_CC} \
|
||
|
AR=${FAM_AR} \
|
||
|
RANLIB=${FAM_RANLIB} || exit 1
|
||
|
|
||
|
export FFMPEG_EXTRA_LD_FLAGS="${FFMPEG_EXTRA_LD_FLAGS} -lz"
|
||
|
|
||
|
${MAKE_EXECUTABLE} clean
|
||
|
${MAKE_EXECUTABLE} -j${HOST_NPROC}
|
||
|
${MAKE_EXECUTABLE} install
|