@@ -60,26 +60,26 @@ ADD patches /patches
60
60
# #########################
61
61
62
62
# Configure the container for OSX cross compilation
63
- ENV OSX_SDK MacOSX11.3 .sdk
64
- ENV OSX_SDK_PATH https://github.com/phracker/MacOSX-SDKs/releases/download/11.3 /${OSX_SDK}.tar.xz
63
+ ENV OSX_SDK MacOSX11.1 .sdk
64
+ ENV OSX_SDK_PATH https://github.com/phracker/MacOSX-SDKs/releases/download/11.0-11.1 /${OSX_SDK}.tar.xz
65
65
66
66
# Make libxar known to the ld64 and cctools build
67
67
ENV LD_LIBRARY_PATH=/osxcross/target/lib
68
68
69
69
# Download the osx sdk and build the osx toolchain
70
70
# We download the osx sdk, patch it and pack it again to be able to throw the patched version at osxcross
71
71
RUN \
72
- $FETCH $OSX_SDK_PATH cd4f08a75577145b8f05245a2975f7c81401d75e9535dcffbb879ee1deefcbf4 && \
72
+ $FETCH $OSX_SDK_PATH 9b86eab03176c56bb526de30daa50fa819937c54b280364784ce431885341bf6 && \
73
73
tar -xf `basename $OSX_SDK_PATH` && rm -f `basename $OSX_SDK_PATH`
74
74
ADD patch.tar.xz $OSX_SDK/usr/include/c++
75
75
RUN tar -cf - $OSX_SDK/ | xz -c - > $OSX_SDK.tar.xz && rm -rf $OSX_SDK
76
76
77
77
# Actually build the toolchain
78
78
RUN \
79
79
git clone https://github.com/tpoechtrager/osxcross.git && \
80
- cd osxcross && git checkout 035cc170338b7b252e3f13b0e3ccbf4411bffc41 && cd ../ && \
81
- mv $OSX_SDK.tar.xz /osxcross/tarballs/ && \
82
- OSX_VERSION_MIN=10.10 UNATTENDED=1 LD_LIBRARY_PATH=/osxcross/target/lib /osxcross/build.sh
80
+ cd osxcross && git checkout 0f87f567dfaf98460244471ad6c0f4311d62079c && cd ../ && \
81
+ mv $OSX_SDK.tar.xz /osxcross/tarballs/ && \
82
+ OSX_VERSION_MIN=10.13 UNATTENDED=1 LD_LIBRARY_PATH=/osxcross/target/lib /osxcross/build.sh
83
83
84
84
ENV PATH /osxcross/target/bin:$PATH
85
85
0 commit comments