Add temporary hack for libtool when using DESTDIR in stage1
[hvlinux.git] / stage1 / pkg / mpc
diff --git a/stage1/pkg/mpc b/stage1/pkg/mpc
new file mode 100644 (file)
index 0000000..ff08a99
--- /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/libmpc.la
+}