File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ PICASSO_VER=2.5.0
5656GP32_TOOLS_VER=1.0.2
5757LIBMIRKO_VER=0.9.7
5858
59+ OSXMIN=${OSXMIN:- 10.5}
60+ OSXSDKPATH=${OSXSDKPATH:-/ Developer/ SDKs/ MacOSX10.5.sdk}
61+
5962# ---------------------------------------------------------------------------------
6063function extract_and_patch {
6164# ---------------------------------------------------------------------------------
@@ -165,8 +168,8 @@ PLATFORM=`uname -s`
165168
166169case $PLATFORM in
167170 Darwin )
168- cflags=" -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/usr/local/include"
169- ldflags=" -mmacosx-version-min=10.5 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -L/usr/local/lib"
171+ cflags=" -mmacosx-version-min=${OSXMIN} -isysroot ${OSXSDKPATH} -I/usr/local/include"
172+ ldflags=" -mmacosx-version-min=${OSXMIN} -Wl,-syslibroot,${OSXSDKPATH} -L/usr/local/lib"
170173 ;;
171174 MINGW32* )
172175 cflags=" -D__USE_MINGW_ACCESS"
You can’t perform that action at this time.
0 commit comments