Fix install issues

This commit is contained in:
pancake 2013-09-14 00:45:49 +02:00
parent e5ce1cd5d4
commit d08d455982
2 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@ all: sdb/sdb
done
clean mrproper:
rm -f sdb/sdb
rm -f sdb/src/.sdb sdb/sdb
cd sdb ; ${MAKE} clean
@for a in ${MODS} ; do ${MAKE} -C $$a clean ; done

View File

@ -4,10 +4,11 @@ if test -w $LD ; then
if type ldconfig > /dev/null 2>&1 ; then
mkdir -p $LD
P=$(awk -F= '/^LIBDIR/{print $2}' config-user.mk)
D=`dirname $P``basename $P`
D=`dirname $P`/`basename $P`
if [ /usr != "$D" ]; then
echo $P > $LD/radare.conf
ldconfig
# do not update symlinks to avoid r2 install issues
ldconfig -X
fi
fi
fi