From f6f79a3d7ad35e54c7e11e544a8559fc624545bd Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 2 Mar 2015 08:10:46 -0500 Subject: [PATCH] Add temporary hack for libtool when using DESTDIR in stage1 --- stage1/pkg/isl | 7 +++++++ stage1/pkg/mpc | 7 +++++++ stage1/pkg/mpfr | 7 +++++++ stage1/pkg/util-linux | 3 +++ 4 files changed, 24 insertions(+) create mode 100644 stage1/pkg/isl create mode 100644 stage1/pkg/mpc create mode 100644 stage1/pkg/mpfr 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 } -- 2.20.1