radare2/sys/ldconfig.sh
pancake febace8033 Run ldconfig stage after install and symstall
- Fixes non-standard path installs on GNU/Linux
2013-06-17 01:39:49 +02:00

9 lines
173 B
Bash
Executable File

#!/bin/sh
LD=/etc/ld.so.conf.d
type ldconfig > /dev/null 2>&1
if [ $? = 0 ]; then
mkdir -p $LD
awk -F= '/^LIBDIR/{print $2}' config-user.mk > $LD/radare.conf
ldconfig
fi