Skip to content

Commit 3f7cb92

Browse files
update osxcross version (#137)
* update osxcross version * Update Dockerfile * Update Dockerfile * Update Dockerfile
1 parent 64ce3ca commit 3f7cb92

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker/base/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,26 +60,26 @@ ADD patches /patches
6060
##########################
6161

6262
# 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
6565

6666
# Make libxar known to the ld64 and cctools build
6767
ENV LD_LIBRARY_PATH=/osxcross/target/lib
6868

6969
# Download the osx sdk and build the osx toolchain
7070
# We download the osx sdk, patch it and pack it again to be able to throw the patched version at osxcross
7171
RUN \
72-
$FETCH $OSX_SDK_PATH cd4f08a75577145b8f05245a2975f7c81401d75e9535dcffbb879ee1deefcbf4 && \
72+
$FETCH $OSX_SDK_PATH 9b86eab03176c56bb526de30daa50fa819937c54b280364784ce431885341bf6 && \
7373
tar -xf `basename $OSX_SDK_PATH` && rm -f `basename $OSX_SDK_PATH`
7474
ADD patch.tar.xz $OSX_SDK/usr/include/c++
7575
RUN tar -cf - $OSX_SDK/ | xz -c - > $OSX_SDK.tar.xz && rm -rf $OSX_SDK
7676

7777
# Actually build the toolchain
7878
RUN \
7979
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
8383

8484
ENV PATH /osxcross/target/bin:$PATH
8585

0 commit comments

Comments
 (0)