diff options
Diffstat (limited to 'chapter8/libelf.sh')
-rw-r--r-- | chapter8/libelf.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter8/libelf.sh b/chapter8/libelf.sh new file mode 100644 index 0000000..ef91c85 --- /dev/null +++ b/chapter8/libelf.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +./configure --prefix=/usr \ + --disable-debuginfod \ + --enable-libdebuginfod=dummy \ + --libdir=/lib + +make + +make -C libelf -j1 install +install -vm644 config/libelf.pc /usr/lib/pkgconfig +rm /lib/libelf.a |