aboutsummaryrefslogtreecommitdiff
path: root/core/e2fsprogs/build
blob: a01968a789b53259f0718d92ace2b140afdb3180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --sysconfdir=/etc \
    --enable-symlink-install \
    --disable-uuidd \
    --disable-libuuid \
    --disable-libblkid \
    --disable-elf-shlibs \
    --disable-fsck

# MKDIR_P fixes an install issue on musl/busybox.
make
make MKDIR_P="install -d" DESTDIR="$1" install install-libs

# Make static libraries writable.
chmod -v u+w "$1/usr/lib/"*.a