diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2022-12-21 13:29:49 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2022-12-21 17:43:11 +0000 |
commit | 4e7817498efc8ad74b7266d034abc5c4e45de44e (patch) | |
tree | be5e83780463f8ae4d9853ed6deab207d2a5dc45 /winsup/testsuite | |
parent | 09cb4cd2940ff4c8b863cfa2fd2b043b8da0dca2 (diff) | |
download | newlib-4e7817498efc8ad74b7266d034abc5c4e45de44e.zip newlib-4e7817498efc8ad74b7266d034abc5c4e45de44e.tar.gz newlib-4e7817498efc8ad74b7266d034abc5c4e45de44e.tar.bz2 |
Cygwin: Makefile: Drop all the "test dll" considerations
After 90236c3a2cf6, the testsuite is failing, as the cygwin0.dll
referenced by the implib that testsuite programs are linked with doesn't
exist anymore.
We don't need to make and link the testsuite with a specially named DLL,
as the cygwin DLL (since 526b0fbca377) takes into consideration the path
it's executing from to define separate "Cygwin installations", which
don't interact.
Fixes: 90236c3a2cf6 ("Cygwin: Makefile: build new-cygwin1.dll in a single step")
Diffstat (limited to 'winsup/testsuite')
-rw-r--r-- | winsup/testsuite/winsup.api/winsup.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/winsup.api/winsup.exp b/winsup/testsuite/winsup.api/winsup.exp index 584aa57..f755c82 100644 --- a/winsup/testsuite/winsup.api/winsup.exp +++ b/winsup/testsuite/winsup.api/winsup.exp @@ -61,7 +61,7 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.c $srcdir/$subdir/*/*.{cc if [ file exists "$srcdir/$subdir/$basename.exp" ] then { source "$srcdir/$subdir/$basename.exp" } else { - ws_spawn "$CC -nodefaultlibs -mwin32 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o -lgcc $runtime_root/libcygwin0.a -lkernel32 -luser32 -o $base.exe" + ws_spawn "$CC -nodefaultlibs -mwin32 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o -lgcc $runtime_root/libcygwin.a -lkernel32 -luser32 -o $base.exe" if { $rv } { fail "$testcase (compile)" } else { |