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

View File

@ -1 +1 @@
0.189 1 0.189 2