File fix-ldconfig-call.patch of Package intel-cmt-cat

Index: intel-cmt-cat-1.1.0/lib/Makefile
===================================================================
--- intel-cmt-cat-1.1.0.orig/lib/Makefile	2017-08-04 18:35:50.536427703 +0200
+++ intel-cmt-cat-1.1.0/lib/Makefile	2017-08-04 18:36:11.433604123 +0200
@@ -119,13 +119,13 @@ 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 $(LIB_INSTALL_DIR)/libpqos*
 ifeq ($(SHARED),y)
-	ldconfig
+	/sbin/ldconfig -n .
 endif
 
 DEPFILES = $(SRCS:.c=.d)
openSUSE Build Service is sponsored by