From: Stephan Raue Date: Sat, 11 Jun 2011 21:22:19 +0000 (+0200) Subject: Disable run of ldconfig if crosscompiling too X-Git-Tag: upstream/1.9.6^2~403^2~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d20a6d6bcd625d0162cc7158b597e04ef3ee1379;p=deb_libnfs.git Disable run of ldconfig if crosscompiling too Signed-off-by: Stephan Raue --- diff --git a/configure.ac b/configure.ac index 9973c92..363e671 100644 --- a/configure.ac +++ b/configure.ac @@ -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=""