[Asterisk-code-review] BuildSystem: Invoke ldconfig with previous paths. (asterisk[13])

Alexander Traud asteriskteam at digium.com
Wed Jan 17 08:19:38 CST 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8000


Change subject: BuildSystem: Invoke ldconfig with previous paths.
......................................................................

BuildSystem: Invoke ldconfig with previous paths.

On OpenBSD, gmake uninstall{-all} registered only libraries from /usr/lib and
forgot those from /usr/local/lib.

ASTERISK-27595

Change-Id: I4aa2c0b5e07119d1a556f8ff6349eaf09e986888
---
M Makefile
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/00/8000/1

diff --git a/Makefile b/Makefile
index e9972af..46347c7 100644
--- a/Makefile
+++ b/Makefile
@@ -626,7 +626,7 @@
 ifneq ($(LDCONFIG),)
 ifeq ($(DESTDIR),)  # DESTDIR means binary archive creation; ldconfig should be run on postinst
 	@if [ $${EUID} -eq 0 ] ; then \
-		$(LDCONFIG) "$(ASTLIBDIR)/" ; \
+		$(LDCONFIG) -R "$(ASTLIBDIR)/" ; \
 	else \
 		echo " WARNING WARNING WARNING" ;\
 		echo "" ;\
@@ -970,7 +970,7 @@
 endif
 	$(MAKE) -C sounds uninstall
 ifneq ($(LDCONFIG),)
-	$(LDCONFIG) || :
+	$(LDCONFIG) -R || :
 endif
 
 uninstall: _uninstall

-- 
To view, visit https://gerrit.asterisk.org/8000
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4aa2c0b5e07119d1a556f8ff6349eaf09e986888
Gerrit-Change-Number: 8000
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180117/038c07ba/attachment.html>


More information about the asterisk-code-review mailing list