2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

libelf: build more stuff

This commit is contained in:
git-bruh 2023-03-26 17:28:51 +05:30
parent c293baf1d0
commit 1ec47bfa5f
No known key found for this signature in database
2 changed files with 10 additions and 8 deletions

View File

@ -13,11 +13,13 @@ sh ./configure \
--disable-nls \
ac_cv_c99=yes # Override check for Clang.
# Skip the default make target and build only what we need.
make -C lib
make -C libelf
make -C libelf DESTDIR="$1" install
make -C doc DESTDIR="$1" install-man3
# Utility functions that need argp and fts, not strictly necessary
# for the library to function
:>libdwfl/argp-std.c
:>libdwfl/linux-kernel-modules.c
mkdir -p "$1/usr/lib/pkgconfig"
cp -f config/libelf.pc "$1/usr/lib/pkgconfig/libelf.pc"
# Useless stuff
printf '%s\n' "all:" "install:" > src/Makefile
make
make DESTDIR="$1" install

View File

@ -1 +1 @@
0.189 1
0.189 2