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

Jenkins2 asteriskteam at digium.com
Fri Feb 16 08:46:13 CST 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/7999 )

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

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
---
M Makefile
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Corey Farrell: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/Makefile b/Makefile
index f116e2d..6b8f81f 100644
--- a/Makefile
+++ b/Makefile
@@ -972,7 +972,7 @@
 endif
 	$(MAKE) -C sounds uninstall
 ifneq ($(LDCONFIG),)
-	$(LDCONFIG) || :
+	$(LDCONFIG) "$(ASTLIBDIR)/" || :
 endif
 
 uninstall: _uninstall

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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4aa2c0b5e07119d1a556f8ff6349eaf09e986888
Gerrit-Change-Number: 7999
Gerrit-PatchSet: 2
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180216/cdf91100/attachment-0001.html>


More information about the asterisk-code-review mailing list