diff options
author | Zach van Rijn <me@zv.io> | 2024-12-07 20:07:06 -0600 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-12-07 20:07:06 -0600 |
commit | 9e83e0e81976dc62822ec27a09579e20451c8719 (patch) | |
tree | eded514064b5b60aae879d97489e6a99437e90e3 | |
parent | 98dccc7cfbf56178ee76151a20cda59dfb6dad19 (diff) | |
download | bootstrap-9e83e0e81976dc62822ec27a09579e20451c8719.tar.gz bootstrap-9e83e0e81976dc62822ec27a09579e20451c8719.tar.bz2 bootstrap-9e83e0e81976dc62822ec27a09579e20451c8719.tar.xz bootstrap-9e83e0e81976dc62822ec27a09579e20451c8719.zip |
setup-abuild: install libfakeroot.so and add xstat patch.
-rwxr-xr-x | setup-abuild | 4 |
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)" \ |