mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
build: avoid building stdbuf on cygwin
* configure.ac: Don't add stdbuf to the list of programs to build if EXEEXT is set, as that is not handled in configure.ac for libstdbuf.so yet (see bin_PRGRAMS handling in configure.ac). Also the LD_PRELOAD mechanism will need to be adjusted to support cygwin in any case, so avoid stdbuf completely in this case for now. Problem reported by Eric Blake.
This commit is contained in:
1 parent
d8a19e0336
commit
0cf66cbe85
1 file changed
+1
-1
+1
-1
@@ -473,7 +473,7 @@ AC_COMPILE_IFELSE(
|
||||
[stdbuf_supported=yes],
|
||||
[stdbuf_supported=no])
|
||||
AC_MSG_RESULT([$stdbuf_supported])
|
||||
if test "$stdbuf_supported" = "yes"; then
|
||||
if test "$stdbuf_supported" = "yes" && test -z "$EXEEXT"; then
|
||||
gl_ADD_PROG([optional_bin_progs], [stdbuf])
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user