automatically run ldconfig on installation
PATCH 1/1 automatically run ldconfig on installation
Hi,
When installing the userspace skin libraries, 'ldconfig' is not automatically run to update the dynamic library loader cache.
The attached patch does just that, but it does so only if the user is not installing cross-compiled libraries as it does not make sense in this case.
Stelian.
configure.in +1 -0
@@ -593,6 +593,7 @@ AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/src/skins/posix/posix.wrappers']) AC_SUBST(XENO_POSIX_WRAPPERS) +AC_SUBST(cross_compiling) base=asm-$XENO_TARGET_ARCH AC_CONFIG_LINKS([src/include/asm/xenomai:include/$base])
skins/Makefile.am +2 -0
@@ -1,2 +1,4 @@ +install-data-local: + if test "@cross_compiling@" = "no"; then ldconfig; fi SUBDIRS = native posix rtdm vxworks vrtx rtai
Signature · 1 line
Stelian Pop <[email protected]>