Skip to content

Commit

Permalink
Cleanup build script
Browse files Browse the repository at this point in the history
  • Loading branch information
wader authored and andoma committed Apr 6, 2011
1 parent 8fe8dce commit 26e55d7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions support/osx/buildenv.common.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@

# pkg-config 0.18 or higher, otherwise PKG_CONFIG_LIBDIR does not work
export PKGCONFIG=/opt/local/bin/pkg-config
export INSTALLDIR="$HOME/showtime-env-$OSX_TARGET-$CC-$CC_ARCH"
export INSTALLDIR="$HOME/src/showtime-env/install-$OSX_TARGET-$CC-$CC_ARCH"
export PKG_CONFIG_LIBDIR="$INSTALLDIR/lib/pkgconfig"
export CFLAGS="-arch $CC_ARCH -isysroot $OSX_SYSROOT"
export LDFLAGS="-arch $CC_ARCH -mmacosx-version-min=$OSX_TARGET -isysroot $OSX_SYSROOT"
# CC exported from sourcing script

OPENSSL_TARGET="darwin-$CC_ARCH-cc"
if [ "$CC_ARCH" = "x86_64" ] ; then
OPENSSL_TARGET="darwin64-x86_64-cc"
fi

(cd freetype* && \
./configure "--prefix=$INSTALLDIR" \
--enable-static && \
Expand Down

0 comments on commit 26e55d7

Please sign in to comment.