[Asterisk-code-review] Revert "build: Execute ldconfig to build cache." (asterisk[13])

Anonymous Coward asteriskteam at digium.com
Wed Feb 22 13:56:50 CST 2017


Anonymous Coward #1000019 has submitted this change and it was merged. ( https://gerrit.asterisk.org/5064 )

Change subject: Revert "build: Execute ldconfig to build cache."
......................................................................


Revert "build: Execute ldconfig to build cache."

This reverts commit d90430953c508670a67de68de400fef44f5e9fba.

Change-Id: I758fe7ea0408f83a6df8e1774310d69f482700f6
---
M main/Makefile
1 file changed, 0 insertions(+), 8 deletions(-)

Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved



diff --git a/main/Makefile b/main/Makefile
index b3e84e1..a51b48b 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -355,11 +355,7 @@
 endif
 endif
 ifneq ($(LDCONFIG),)
-ifneq ($(DESTDIR),)
 	$(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(ASTLIBDIR)/"
-else
-	$(LDCONFIG)
-endif
 endif
 	$(LN) -sf asterisk "$(DESTDIR)$(ASTSBINDIR)/rasterisk"
 
@@ -377,11 +373,7 @@
 	rm -f "$(DESTDIR)$(ASTLIBDIR)/$(ASTPJ_LIB)"
 endif
 ifneq ($(LDCONFIG),)
-ifneq ($(DESTDIR),)
 	$(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(ASTLIBDIR)/"
-else
-	$(LDCONFIG)
-endif
 endif
 
 clean::

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I758fe7ea0408f83a6df8e1774310d69f482700f6
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list