Blame SOURCES/brp-ldconfig

a008c1
#!/bin/sh -f
a008c1
# Force creating of DSO symlinks.
a008c1
a008c1
# If using normal root, avoid changing anything.
a008c1
if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
a008c1
  exit 0
a008c1
fi
a008c1
a008c1
/sbin/ldconfig -N -r "$RPM_BUILD_ROOT"
a008c1
# TODO: warn if it created new symlinks and guide people.