aboutsummaryrefslogtreecommitdiff
path: root/core/libelf/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /core/libelf/build
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
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