Blame SOURCES/brp-ldconfig

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