Merge "build: Execute ldconfig to build cache." into 13

This commit is contained in:
Joshua Colp
2017-02-21 14:54:47 -06:00
committed by Gerrit Code Review

View File

@@ -355,7 +355,11 @@ else # Darwin
endif
endif
ifneq ($(LDCONFIG),)
ifneq ($(DESTDIR),)
$(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(ASTLIBDIR)/"
else
$(LDCONFIG)
endif
endif
$(LN) -sf asterisk "$(DESTDIR)$(ASTSBINDIR)/rasterisk"
@@ -373,7 +377,11 @@ 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::