aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/libelf.sh
blob: ef91c850bf72e14ffed99493d5175ebf03d1a3bd (plain)
1
2
3
4
5
6
7
8
9
10
11
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