commit 7fb54d4b68db8829689cf902591094d4df4e0996 parent ca494c0972f6af24d9734df89c6f2fd80252aa31 Author: sin <sin@2f30.org> Date: Thu, 26 Sep 2013 12:44:55 +0100 Fix musl for building C++ programs Diffstat:
M | cross-scripts/musl | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/cross-scripts/musl b/cross-scripts/musl @@ -6,4 +6,9 @@ fetch() { install() { tar xJf src/crossx86-x86_64-linux-musl-0.9.11.tar.xz -C $top/cross + mv $libcroot/lib64/* $libcroot/lib + sed -i 's/libdir=.*//g' $libcroot/lib/libstdc++.la + sed -i 's/libdir=.*//g' $libcroot/lib/libsupc++.la + echo "libdir='$libcroot/lib'" >> $libcroot/lib/libstdc++.la + echo "libdir='$libcroot/lib'" >> $libcroot/lib/libsupc++.la }