Skip to content

Commit

Permalink
freebsd: Add libprocstat.so
Browse files Browse the repository at this point in the history
If we don't add this library, we'll eventually run into linking problems due to libprocstat.so not being found.
  • Loading branch information
svenstaro authored Aug 28, 2021
1 parent b8bcd07 commit 2e655ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,13 @@ main() {
cp "${td}/freebsd/usr/lib/libc++.so.1" "${destdir}/lib"
cp "${td}/freebsd/usr/lib/libc++.a" "${destdir}/lib"
cp "${td}/freebsd/usr/lib"/lib{c,util,m}.a "${destdir}/lib"
cp "${td}/freebsd/usr/lib"/lib{rt,execinfo}.so.1 "${destdir}/lib"
cp "${td}/freebsd/usr/lib"/lib{rt,execinfo,procstat}.so.1 "${destdir}/lib"
cp "${td}/freebsd/usr/lib"/{crt1,Scrt1,crti,crtn}.o "${destdir}/lib"

ln -s libc.so.7 "${destdir}/lib/libc.so"
ln -s libc++.so.1 "${destdir}/lib/libc++.so"
ln -s libexecinfo.so.1 "${destdir}/lib/libexecinfo.so"
ln -s libprocstat.so.1 "${destdir}/lib/libprocstat.so"
ln -s libm.so.5 "${destdir}/lib/libm.so"
ln -s librt.so.1 "${destdir}/lib/librt.so"
ln -s libutil.so.9 "${destdir}/lib/libutil.so"
Expand Down

0 comments on commit 2e655ef

Please sign in to comment.