mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
nss: Try harder to uninstall
On BSD we are creating this symlink to libnss_libvirt.so called nss_libvirt.so. That's just the way it is on BSD. However, when uninstalling, we try to remove libnss_libvirt.so instead of the symlink. Moreover, if file we are trying to remove does not exist we error out instead of ignoring the error. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
2df4685905
commit
2f3c89fbbb
@ -427,7 +427,7 @@ install-exec-hook:
|
|||||||
$(LN_S) libnss_libvirt.so.$(NSS_SO_VER) nss_libvirt.so.$(NSS_SO_VER)
|
$(LN_S) libnss_libvirt.so.$(NSS_SO_VER) nss_libvirt.so.$(NSS_SO_VER)
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
rm $(DESTDIR)$(libdir)/libnss_libvirt.so.$(NSS_SO_VER)
|
-rm -f $(DESTDIR)$(libdir)/nss_libvirt.so.$(NSS_SO_VER)
|
||||||
else ! WITH_BSD_NSS
|
else ! WITH_BSD_NSS
|
||||||
LIBVIRT_NSS_SYMBOL_FILE = \
|
LIBVIRT_NSS_SYMBOL_FILE = \
|
||||||
$(srcdir)/nss/libvirt_nss.syms
|
$(srcdir)/nss/libvirt_nss.syms
|
||||||
|
Loading…
x
Reference in New Issue
Block a user