aboutsummaryrefslogtreecommitdiff
path: root/core/libelf/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-23 22:52:13 +0300
committerCem Keylan <cem@ckyln.com>2020-05-23 22:52:13 +0300
commit911c0ccb369d8e37ad7e8c8c2e7596aa361459f4 (patch)
tree558c402354afc130fe5462851ab5f4adc441c6c8 /core/libelf/build
parente369edfe99dd52319c30cbf1492e7a8ce30ce5aa (diff)
downloadrepository-911c0ccb369d8e37ad7e8c8c2e7596aa361459f4.tar.gz
libelf: POSIX sed
Diffstat (limited to 'core/libelf/build')
-rwxr-xr-xcore/libelf/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/libelf/build b/core/libelf/build
index a7a7f497..94916479 100755
--- a/core/libelf/build
+++ b/core/libelf/build
@@ -1,6 +1,7 @@
#!/bin/sh -e
-sed -i 's/-I/-isystem /g' libelf.pc.in
+sed 's/-I/-isystem /g' libelf.pc.in > _
+cat _ > libelf.pc.in; rm -f _
./configure \
--prefix=/usr \