]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
BuildSystem: Invoke ldconfig with previous path.
authorAlexander Traud <pabstraud@compuserve.com>
Wed, 17 Jan 2018 14:17:38 +0000 (15:17 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Tue, 13 Feb 2018 20:02:18 +0000 (14:02 -0600)
On OpenBSD, gmake uninstall{-all} registered only libraries from /usr/lib and
lost those from /usr/local/lib. Instead, invoke ldconfig on a path.

ASTERISK-27595

Change-Id: I4aa2c0b5e07119d1a556f8ff6349eaf09e986888

Makefile

index f116e2dd9b83e948abe00b80cd3ea50719211572..6b8f81fade423b8ef5cd85e90e33c9450d1cb63c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -972,7 +972,7 @@ ifeq ($(HAVE_DAHDI),1)
 endif
        $(MAKE) -C sounds uninstall
 ifneq ($(LDCONFIG),)
-       $(LDCONFIG) || :
+       $(LDCONFIG) "$(ASTLIBDIR)/" || :
 endif
 
 uninstall: _uninstall