aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/libelf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/libelf.sh')
-rw-r--r--chapter8/libelf.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/chapter8/libelf.sh b/chapter8/libelf.sh
index 7a693aa..ef91c85 100644
--- a/chapter8/libelf.sh
+++ b/chapter8/libelf.sh
@@ -1,3 +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