File fix-ldconfig-call.patch of Package intel-cmt-cat
diff --git a/lib/Makefile b/lib/Makefile
index 1a1f9eb..c1773d8 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -123,13 +123,13 @@ endif
# Create symlinks to DSO
ifeq ($(SHARED),y)
cd $(LIB_INSTALL_DIR); ln -f -s $(LIB).so.$(VERSION) $(LIB).so.$(SO_VERSION); ln -f -s $(LIB).so.$(SO_VERSION) $(LIB).so
- ldconfig
+ /sbin/ldconfig -n .
endif
uninstall:
-rm $(LIBDIR)/libpqos*
ifeq ($(SHARED),y)
- ldconfig
+ /sbin/ldconfig -n .
endif
DEPFILES = $(SRCS:.c=.d)