mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-12 14:02:33 +00:00
handle library paths properly
This commit is contained in:
parent
592047dd9a
commit
c606dee780
1 changed files with 12 additions and 0 deletions
|
@ -5,3 +5,15 @@ cd radare2/
|
|||
./configure --prefix=$(dirname $PWD)
|
||||
make -j $(nproc)
|
||||
make install
|
||||
cd ..
|
||||
|
||||
cd bin
|
||||
for i in ???*
|
||||
do
|
||||
mv $i $i.real
|
||||
cat <<END > $i
|
||||
#!/bin/bash
|
||||
LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$PWD/../lib \$0.real
|
||||
END
|
||||
chmod 755 $i
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue