From 7739b0b3aebcbec892f954650d7406013f4b622f Mon Sep 17 00:00:00 2001
From: Joshua Colp <jcolp@digium.com>
Date: Mon, 20 Feb 2017 11:19:55 -0600
Subject: [PATCH] Revert "build: Execute ldconfig to build cache."

This reverts commit 8851c3e0885cb704a5a6159a51768ea5297e9b10.

Change-Id: I124380be5e3bd57da978428a2a93604336ccd0db
---
 main/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/Makefile b/main/Makefile
index 331da845c8..4d1b2c41bd 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -355,7 +355,7 @@ else # Darwin
 endif
 endif
 ifneq ($(LDCONFIG),)
-	$(LDCONFIG)
+	$(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(ASTLIBDIR)/"
 endif
 	$(LN) -sf asterisk "$(DESTDIR)$(ASTSBINDIR)/rasterisk"
 
@@ -373,7 +373,7 @@ ifneq ($(ASTPJ_LIB).$(ASTPJ_SO_VERSION),.)
 	rm -f "$(DESTDIR)$(ASTLIBDIR)/$(ASTPJ_LIB)"
 endif
 ifneq ($(LDCONFIG),)
-	$(LDCONFIG)
+	$(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(ASTLIBDIR)/"
 endif
 
 clean::
-- 
GitLab