From ced73d5b799ab7f8ab7610d632f10be25ff6ff0f Mon Sep 17 00:00:00 2001
From: Joshua Colp <jcolp@digium.com>
Date: Wed, 22 Feb 2017 11:12:54 -0600
Subject: [PATCH] Revert "build: Execute ldconfig to build cache."

This reverts commit 28c8e4f58f0f38792c7c79a05bd07788ebf15332.

Change-Id: Ie2e1aaf61fd49045994974a4581545ac8348fe4c
---
 main/Makefile | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/main/Makefile b/main/Makefile
index 3c371c6685..4d1b2c41bd 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -355,11 +355,7 @@ else # Darwin
 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 @@ ifneq ($(ASTPJ_LIB).$(ASTPJ_SO_VERSION),.)
 	rm -f "$(DESTDIR)$(ASTLIBDIR)/$(ASTPJ_LIB)"
 endif
 ifneq ($(LDCONFIG),)
-ifneq ($(DESTDIR),)
 	$(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(ASTLIBDIR)/"
-else
-	$(LDCONFIG)
-endif
 endif
 
 clean::
-- 
GitLab