diff options
author | Christopher Faylor <me@cgf.cx> | 2002-08-26 06:53:24 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-08-26 06:53:24 +0400 |
commit | 9d89f63486e9294714f900f9f98f5a4454a40a7e (patch) | |
tree | b1420e5b8d7b5e457219e7524a0ef77ccd265798 /winsup/testsuite/winsup.api/winsup.exp | |
parent | f77cd636427e5f82f5560acecd40ad8e90183b75 (diff) |
* Makefile.in (RUNTEST): Use Makefile's srcdir and bupdir* macros, where
appropriate.
* winsup.api/winsup.exp: Use -nodefaultlibs when linking executable to avoid
potentially linking installed dll.
Diffstat (limited to 'winsup/testsuite/winsup.api/winsup.exp')
-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 c47ae9a0e..6d71fa912 100644 --- a/winsup/testsuite/winsup.api/winsup.exp +++ b/winsup/testsuite/winsup.api/winsup.exp @@ -48,7 +48,7 @@ foreach src [glob -nocomplain $srcdir/$subdir/*.c $srcdir/$subdir/*/*.c] { clear_xfail } - ws_spawn "$CC -g3 -mwin32 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o $runtime_root/new-libcygwin.a -o $base.exe" + ws_spawn "$CC -g3 -nodefaultlibs -mwin32 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o -lgcc $runtime_root/new-libcygwin.a -lkernel32 -luser32 -o $base.exe" if { $rv != "" } { verbose -log "$rv" fail "$testcase (compile)" |