Commit | Line | Data |
---|---|---|
25592202 FF |
1 | diff -u -r ../radare2-0.10.5/sys/ldconfig.sh ./sys/ldconfig.sh |
2 | --- ../radare2-0.10.5/sys/ldconfig.sh 2016-08-16 19:28:34.000000000 -0400 | |
3 | +++ ./sys/ldconfig.sh 2016-09-22 21:39:01.237872528 -0400 | |
4 | @@ -1,15 +1,4 @@ | |
5 | #!/bin/sh | |
6 | -LD=/etc/ld.so.conf.d | |
7 | -if test -w $LD ; then | |
8 | - if type ldconfig > /dev/null 2>&1 ; then | |
9 | - mkdir -p $LD | |
10 | - P=$(awk -F= '/^LIBDIR/{print $2}' config-user.mk) | |
11 | - D="$(dirname "$P")"/"$(basename "$P")" | |
12 | - if [ /usr != "$D" ]; then | |
13 | - echo "$P" > "$LD/radare.conf" | |
14 | - # do not update symlinks to avoid r2 install issues | |
15 | - ldconfig -X | |
16 | - fi | |
17 | - fi | |
18 | -fi | |
19 | +# Do not do anything that would break the system | |
20 | +# if building as root and cross compiling. | |
21 | exit 0 |