]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Revert "build: Execute ldconfig to build cache." 63/5063/1
authorJoshua Colp <jcolp@digium.com>
Wed, 22 Feb 2017 17:12:59 +0000 (11:12 -0600)
committerJoshua Colp <jcolp@digium.com>
Wed, 22 Feb 2017 17:12:59 +0000 (11:12 -0600)
This reverts commit e852d5b848de9bb55dc3363013aa18ebd736ebb9.

Change-Id: Ie1ffc470c656e8bfa14f890b58c8ecc187e50197

main/Makefile

index 3c371c6685e28c158f62301c4a0d2207c45b3b08..4d1b2c41bd27877b2ce8ef0ea3beb29f6890fb50 100644 (file)
@@ -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::