Skip to content

Commit

Permalink
Let make can been setup
Browse files Browse the repository at this point in the history
- use xcrun to find make
  • Loading branch information
Superbil committed Apr 9, 2016
1 parent 074dd10 commit 989e6df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ MIN_VERSION="6.0"
# set default output folder is build
OUTPUT_FOLDER=${OUTPUT-build}

MAKE=${MAKE-$(xcrun --find make)}
# set default compiler
CC=${CC-$(xcrun --find gcc)}
LIPO=${LIPO-$(xcrun --find lipo)}
Expand All @@ -30,7 +31,7 @@ function build_lame()
--disable-debug \
--disable-dependency-tracking

make
$MAKE

cp "libmp3lame/.libs/libmp3lame.a" "${OUTPUT_FOLDER}/libmp3lame-${PLATFORM}.a"
}
Expand Down

0 comments on commit 989e6df

Please sign in to comment.