Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

Commit

Permalink
fix icu build (tested on MacOSX)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Aug 14, 2013
1 parent 57ce2ae commit 9e88a0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 4 additions & 5 deletions osx/scripts/build_icu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,19 @@ if [ $BOOST_ARCH = "arm" ]; then
else
export CROSS_FLAGS=""
fi
# note: enable-draft is needed for U_ICUDATA_ENTRY_POINT
./configure ${HOST_ARG} ${CROSS_FLAGS} --prefix=${BUILD} \
--disable-samples \
--enable-draft \
--enable-static \
--disable-shared \
--with-data-packaging=archive \
--disable-shared \
--disable-tests \
--enable-tests=no \
--disable-extras \
--disable-layout \
--disable-draft \
--disable-icuio \
--disable-samples \
--disable-dyload
make -j${JOBS} -i -k
make -j${JOBS}
make install
export LDFLAGS=${OLD_LDFLAGS}
export CPPFLAGS=${OLD_CPPFLAGS}
Expand Down
4 changes: 4 additions & 0 deletions osx/settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ if [ ${PLATFORM} = 'Linux' ]; then
export EXTRA_LDFLAGS=
export CORE_CC="gcc"
export CORE_CXX="g++"
export AR=
export RANLIB=
export JOBS=`grep -c ^processor /proc/cpuinfo`
export BOOST_TOOLSET="gcc"
export CXX_VISIBILITY_FLAGS="-fvisibility-inlines-hidden"
Expand Down Expand Up @@ -86,6 +88,8 @@ elif [ ${UNAME} = 'Darwin' ]; then
export PATH=${TOOLCHAIN_ROOT}:$PATH
export CORE_CC="${TOOLCHAIN_ROOT}/clang"
export CORE_CXX="${XCODE_PREFIX}/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++"
export AR=
export RANLIB=
export SDK_ROOT="${XCODE_PREFIX}/Platforms/${PLATFORM}.platform/Developer"
# /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer
export PLATFORM_SDK="${PLATFORM}${MIN_SDK_VERSION}.sdk"
Expand Down

0 comments on commit 9e88a0c

Please sign in to comment.