Skip to content

Commit

Permalink
try different extraction of bsd headers
Browse files Browse the repository at this point in the history
  • Loading branch information
techknowlogick committed Oct 31, 2024
1 parent 94a37a0 commit b21b7fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/toolchain/prep_freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ mkdir /tmp/freebsdbuild && cd /tmp/freebsdbuild && \
# freebsd specific lbs
cd /tmp/freebsdbuild && \
wget https://download.freebsd.org/ftp/releases/amd64/${freebsd_full_ver}-RELEASE/base.txz && \
mkdir -p /freebsdcross/x86_64-pc-freebsd${freebsd_ver} && \
cd /freebsdcross/x86_64-pc-freebsd${freebsd_ver} && \
tar -xf /tmp/freebsdbuild/base.txz ./lib/ ./usr/lib/ ./usr/include/ && \
cd /freebsdcross/x86_64-pc-freebsd${freebsd_ver}/usr/lib && \
tar -xf /tmp/freebsdbuild/base.txz --strip-components=2 lib/ usr/lib/ usr/include/ && \
cd usr/lib && \
find . -xtype l|xargs ls -l|grep ' /lib/' \
| awk '{print "ln -sf /freebsdcross/x86_64-pc-freebsd12"$11 " " $9}' \
| /bin/sh && \
Expand Down

0 comments on commit b21b7fd

Please sign in to comment.