From: Hugo Villeneuve Date: Mon, 2 Mar 2015 13:10:46 +0000 (-0500) Subject: Add temporary hack for libtool when using DESTDIR in stage1 X-Git-Url: http://gitweb.hugovil.com/?p=hvlinux.git;a=commitdiff_plain;h=f6f79a3d7ad35e54c7e11e544a8559fc624545bd Add temporary hack for libtool when using DESTDIR in stage1 --- diff --git a/stage1/pkg/isl b/stage1/pkg/isl new file mode 100644 index 0000000..481e118 --- /dev/null +++ b/stage1/pkg/isl @@ -0,0 +1,7 @@ +#!/bin/bash + +hvbuild_post() +{ + sed -i -e "s@ /tools/lib/libgmp.la@ ${TOOLS_DIR}/lib/libgmp.la@" \ + ${TOOLS_DIR}/lib/libisl.la +} diff --git a/stage1/pkg/mpc b/stage1/pkg/mpc new file mode 100644 index 0000000..ff08a99 --- /dev/null +++ b/stage1/pkg/mpc @@ -0,0 +1,7 @@ +#!/bin/bash + +hvbuild_post() +{ + sed -i -e "s@ /tools/lib/libgmp.la@ ${TOOLS_DIR}/lib/libgmp.la@" \ + ${TOOLS_DIR}/lib/libmpc.la +} diff --git a/stage1/pkg/mpfr b/stage1/pkg/mpfr new file mode 100644 index 0000000..2e88888 --- /dev/null +++ b/stage1/pkg/mpfr @@ -0,0 +1,7 @@ +#!/bin/bash + +hvbuild_post() +{ + sed -i -e "s@ /tools/lib/libgmp.la@ ${TOOLS_DIR}/lib/libgmp.la@" \ + ${TOOLS_DIR}/lib/libmpfr.la +} diff --git a/stage1/pkg/util-linux b/stage1/pkg/util-linux index 3b57fa9..83ec824 100644 --- a/stage1/pkg/util-linux +++ b/stage1/pkg/util-linux @@ -24,4 +24,7 @@ hvbuild_post() for link in ${LINKS}; do ln -svfT /tools/bin/${link} ${LFS}/bin/${link} done + + sed -i -e "s@ /tools/lib/libuuid.la@ ${TOOLS_DIR}/lib/libuuid.la@" \ + ${TOOLS_DIR}/lib/libblkid.la }