Skip to content

Instantly share code, notes, and snippets.

@serser
serser / libjpeg.sh
Last active July 6, 2017 10:26 — forked from dulacp/libjpeg.sh
Download & Compile Libjpeg for OSX (all architectures)
# Builds a Libjpeg framework for the OSX.
# This is a fork from:
# https://gist.github.com/dulaccc/25dbe620422c07e0253e
#===============================================================================
export SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.5.sdk"
: ${LIB_VERSION:=8d}
: ${XCODE_ROOT:=`xcode-select -print-path`}
: ${TARBALLDIR:=`pwd`}