diff --git a/extra/libelf/build b/extra/libelf/build index 65476650..e5a6c820 100755 --- a/extra/libelf/build +++ b/extra/libelf/build @@ -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 diff --git a/extra/libelf/version b/extra/libelf/version index 877b5e29..61410990 100644 --- a/extra/libelf/version +++ b/extra/libelf/version @@ -1 +1 @@ -0.189 1 +0.189 2