Skip to content

Commit

Permalink
feat: add build for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxiaobing committed Sep 18, 2020
1 parent cea5d25 commit 0940b14
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
scratch-x264/*
thin-x264/*
x264-iOS/*
x264-macos/*
24 changes: 24 additions & 0 deletions build-x264-macos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

#/bin/bash
SCRIPT_DIR="$(
cd "$(dirname "$0")"
pwd
)"


CONFIGURE_FLAGS="--enable-static --enable-pic --disable-cli --disable-asm"
Output="$SCRIPT_DIR/x264-macos"
mkdir -p $Output

echo $Output

cd x264
make clean

./configure $CONFIGURE_FLAGS --prefix=$Output

make -j `nproc`
make install



0 comments on commit 0940b14

Please sign in to comment.