aboutsummaryrefslogtreecommitdiff
path: root/core/libelf/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/libelf/build')
-rwxr-xr-xcore/libelf/build10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/libelf/build b/core/libelf/build
new file mode 100755
index 00000000..a7a7f497
--- /dev/null
+++ b/core/libelf/build
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+sed -i 's/-I/-isystem /g' libelf.pc.in
+
+./configure \
+ --prefix=/usr \
+ --enable-nls=auto
+
+make
+make prefix="$1/usr" install