linamh/app-emulation/opencbm/files/0.4.3_rc2/0006-Explicitly-run-sbin-ldconfig-as-sbin-may-not-be-in-P.patch
2017-11-10 12:02:18 +01:00

28 lines
808 B
Diff

From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= <fbriere@fbriere.net>
Date: Fri, 20 May 2011 12:50:53 -0400
Subject: Explicitly run /sbin/ldconfig, as /sbin may not be in $PATH
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Frédéric Brière <fbriere@fbriere.net>
---
lib/LINUX/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/LINUX/Makefile b/lib/LINUX/Makefile
index f5cc303..edeae4b 100644
--- a/lib/LINUX/Makefile
+++ b/lib/LINUX/Makefile
@@ -37,7 +37,7 @@ install-files:
cd $(LIBDIR) && ln -sf $(SHLIBV3) $(SHLIBV); ln -sf $(SHLIBV) $(SHLIB)
install: install-files
- ldconfig -n $(LIBDIR)
+ $(LDCONFIG) -n $(LIBDIR)
uninstall:
cd $(LIBDIR) && rm -f $(LIB) $(SHLIB) $(SHLIBV) $(SHLIBV3)
--