summaryrefslogtreecommitdiff
path: root/packages-i486-stage1/expat
diff options
context:
space:
mode:
Diffstat (limited to 'packages-i486-stage1/expat')
-rw-r--r--packages-i486-stage1/expat8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages-i486-stage1/expat b/packages-i486-stage1/expat
new file mode 100644
index 0000000..e8c1341
--- /dev/null
+++ b/packages-i486-stage1/expat
@@ -0,0 +1,8 @@
+# expat is needed for libarchive
+SYSROOT_INSTALL=1
+
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@" PKGBUILD
+
+# TODO: ./configure: line 17309: program: command not found
+# most likely a harmless error when probing for some documentation build tool