mirror of
https://github.com/zardus/ctf-tools
synced 2025-03-04 15:17:12 +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)
|
./configure --prefix=$(dirname $PWD)
|
||||||
make -j $(nproc)
|
make -j $(nproc)
|
||||||
make install
|
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…
Add table
Reference in a new issue