From: Todd C. Miller Date: Tue, 11 Mar 2014 15:16:21 +0000 (-0600) Subject: Don't run the check_ttyname test if cross compiling. X-Git-Tag: SUDO_1_8_10p1^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f12a546a5e91d666e8092757811f94f4a9f902bb;p=sudo Don't run the check_ttyname test if cross compiling. --- diff --git a/src/Makefile.in b/src/Makefile.in index 4e0019399..065ebeccf 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -184,7 +184,9 @@ cppcheck: cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) $(srcdir)/*.c check: $(TEST_PROGS) - ./check_ttyname + @if test X"$(cross_compiling)" != X"yes"; then \ + ./check_ttyname; \ + fi clean: -$(LIBTOOL) --mode=clean rm -f $(PROGS) $(TEST_PROGS) *.lo *.o *.la *.a stamp-* core *.core core.*