summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetup-abuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup-abuild b/setup-abuild
index 9ee0e7f..93d2046 100755
--- a/setup-abuild
+++ b/setup-abuild
@@ -347,6 +347,7 @@ https://git.alpinelinux.org/aports/plain/main/fakeroot/fakeroot-no64.patch?id=bb
https://git.alpinelinux.org/aports/plain/main/fakeroot/fakeroot-stdint.patch?id=bb497eeb2155d0332284942105692bc05fec25a9
https://git.alpinelinux.org/aports/plain/main/fakeroot/fix-format.patch?id=bb497eeb2155d0332284942105692bc05fec25a9
https://git.alpinelinux.org/aports/plain/main/fakeroot/fix-shell-in-fakeroot.patch?id=bb497eeb2155d0332284942105692bc05fec25a9
+https://git.adelielinux.org/adelie/packages/-/raw/bc7fcd1b36a697ab8ce5fd6ace425a9143330dce/system/fakeroot/xstatjunk.patch
EOF
./bootstrap;
f=$(mktemp); # needed due to "error: unknown type name 'cap_user_header_t'"
@@ -354,7 +355,8 @@ EOF
cat libfakeroot.c >> ${f};
mv ${f} libfakeroot.c;
rm -fr x; mkdir x; cd x;
- CFLAGS="-static -D_STAT_VER=0 $CFLAGS" \
+ # If CFLAGS has '-static', .so files are not installed!
+ CFLAGS="-D_STAT_VER=0 $CFLAGS" \
../configure \
--prefix="${DEST}" \
--host="$(${CC} -dumpmachine)" \