File opencv-install_hook.patch of Package opencv

--- Makefile.am
+++ Makefile.am
@@ -48,7 +48,7 @@
 	cd src && $(MAKE) install-libLTLIBRARIES
 
 # Run ldconfig after installing the library:
-install-hook:
+install-exec-hook:
 	-ldconfig
 
 
openSUSE Build Service is sponsored by