diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 2014-03-11 09:16:21 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 2014-03-11 09:16:21 -0600 |
commit | 219a6fd1ea0e1808cdc8aaff6bc3747ee8cb862f (patch) | |
tree | 980f6405e66b0835e9b3652587b9b1c08a52b2e5 /src | |
parent | 06b033d7c5611e03b48097e2644fbaa365900873 (diff) | |
download | sudo-219a6fd1ea0e1808cdc8aaff6bc3747ee8cb862f.tar.gz |
Don't run the check_ttyname test if cross compiling.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
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.* |