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

Jenkins2 asteriskteam at digium.com
Fri Feb 16 07:31:51 CST 2018


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

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/8001
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: I4aa2c0b5e07119d1a556f8ff6349eaf09e986888
Gerrit-Change-Number: 8001
Gerrit-PatchSet: 2
Gerrit-Owner: 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/3ed19b6a/attachment.html>


More information about the asterisk-code-review mailing list