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.
Index: configure.in
===================================================================
--- configure.in        (révision 1680)
+++ configure.in        (copie de travail)
@@ -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])
Index: src/skins/Makefile.am
===================================================================
--- src/skins/Makefile.am       (révision 1680)
+++ src/skins/Makefile.am       (copie de travail)
@@ -1,2 +1,4 @@
+install-data-local:
+       if test "@cross_compiling@" = "no"; then ldconfig; fi
 
 SUBDIRS = native posix rtdm vxworks vrtx rtai

-- 
Stelian Pop <[EMAIL PROTECTED]>


_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to