diff options
Diffstat (limited to 'brp-ldconfig')
-rwxr-xr-x | brp-ldconfig | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/brp-ldconfig b/brp-ldconfig deleted file mode 100755 index 7b2fb15..0000000 --- a/brp-ldconfig +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -efu - -# If using normal root, avoid changing anything. -if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then - exit 0 -fi - -riscv64_lp64d=0 -if [ "$HOSTTYPE" = "riscv64" -a -e $RPM_BUILD_ROOT/usr/lib64 -a ! -e $RPM_BUILD_ROOT/usr/lib64/lp64d ]; then - ln -s . $RPM_BUILD_ROOT/usr/lib64/lp64d - riscv64_lp64d=1 -fi -/sbin/ldconfig -N -r "$RPM_BUILD_ROOT" -if [ $riscv64_lp64d = 1 ]; then - rm -f $RPM_BUILD_ROOT/usr/lib64/lp64d -fi |