BuildSystem: Invoke ldconfig with previous path.

On OpenBSD, gmake uninstall{-all} registered only libraries from /usr/lib and
lost those from /usr/local/lib. Instead, invoke ldconfig on a path.

ASTERISK-27595

Change-Id: I4aa2c0b5e07119d1a556f8ff6349eaf09e986888
This commit is contained in:
Alexander Traud
2018-01-17 15:17:38 +01:00
parent a81dfd5949
commit eabe72a679

View File

@@ -973,7 +973,7 @@ ifeq ($(HAVE_DAHDI),1)
endif
$(MAKE) -C sounds uninstall
ifneq ($(LDCONFIG),)
$(LDCONFIG) || :
$(LDCONFIG) "$(ASTLIBDIR)/" || :
endif
uninstall: _uninstall