handle library paths properly

This commit is contained in:
Yan 2015-05-07 15:05:30 -07:00
parent 592047dd9a
commit c606dee780

View file

@ -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