Add temporary hack for libtool when using DESTDIR in stage1
[hvlinux.git] / stage1 / pkg / mpfr
diff --git a/stage1/pkg/mpfr b/stage1/pkg/mpfr
new file mode 100644 (file)
index 0000000..2e88888
--- /dev/null
@@ -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
+}