summaryrefslogtreecommitdiff
path: root/data/libffi/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/libffi/make.sh')
-rw-r--r--data/libffi/make.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/data/libffi/make.sh b/data/libffi/make.sh
index 04d7f7dc2..cf3f0feca 100644
--- a/data/libffi/make.sh
+++ b/data/libffi/make.sh
@@ -4,9 +4,8 @@ pkg:patch
cd ../..
mkdir build
cd build
-PKG_CONF=../gcc/libffi/configure
-pkg:configure --with-sysroot="${PKG_ROOT}"
+PKG_CONF=../gcc/libffi/configure pkg:configure --with-sysroot="${PKG_ROOT}"
make
pkg:install
-pkg: mv /usr/lib/gcc/arm-apple-darwin/include /usr/
+mv "${PKG_DEST}"/usr/lib/gcc/*/include "${PKG_DEST}"/usr
pkg: rm -rfv /usr/lib/gcc