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

Joshua Colp asteriskteam at digium.com
Wed Feb 22 11:12:59 CST 2017


Hello Mark Michelson, Richard Mudgett, Anonymous Coward #1000019,

I'd like you to do a code review.  Please visit

    https://gerrit.asterisk.org/5063

to review the following change.


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

Revert "build: Execute ldconfig to build cache."

This reverts commit e852d5b848de9bb55dc3363013aa18ebd736ebb9.

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


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/63/5063/1

diff --git a/main/Makefile b/main/Makefile
index 3c371c6..4d1b2c4 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/5063
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie1ffc470c656e8bfa14f890b58c8ecc187e50197
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
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