Disable run of ldconfig if crosscompiling too
authorStephan Raue <stephan@openelec.tv>
Sat, 11 Jun 2011 21:22:19 +0000 (23:22 +0200)
committerStephan Raue <stephan@openelec.tv>
Sat, 11 Jun 2011 21:22:19 +0000 (23:22 +0200)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
configure.ac

index 9973c92ad4a7044cbc5a66e1ca90063145c1a102..363e6716824fdf244b2bc316248b1f97502ea13e 100644 (file)
@@ -64,6 +64,10 @@ AC_ARG_WITH([ldconfig],
            [  --without-ldconfig  Disable call of ldconfig on make install],
            [ldconfig='echo ldconfig disabled'])
 
+if test x"$cross_compiling" = xyes; then
+  ldconfig='echo crosscompiling: ldconfig disabled'
+fi
+
 AC_CONFIG_HEADER(config.h)
 
 EXTRA_OBJ=""