diff options
-rw-r--r-- | libgo/Makefile.am | 2 | ||||
-rw-r--r-- | libgo/Makefile.in | 2 | ||||
-rwxr-xr-x | libgo/testsuite/gotest | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index b49a61e7b40..6992ce19e3f 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -1761,6 +1761,8 @@ GOTESTFLAGS = CHECK = \ GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \ export GC; \ + GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \ + export GOLIBS; \ RUNTESTFLAGS="$(RUNTESTFLAGS)"; \ export RUNTESTFLAGS; \ MAKE="$(MAKE)"; \ diff --git a/libgo/Makefile.in b/libgo/Makefile.in index 9d61859f812..cdabd023d1a 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -2077,6 +2077,8 @@ GOTESTFLAGS = CHECK = \ GC="$(GOC) $(GOCFLAGS) -L `${PWD_COMMAND}` -L `${PWD_COMMAND}`/.libs"; \ export GC; \ + GOLIBS="$(MATH_LIBS) $(NET_LIBS)"; \ + export GOLIBS; \ RUNTESTFLAGS="$(RUNTESTFLAGS)"; \ export RUNTESTFLAGS; \ MAKE="$(MAKE)"; \ diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest index 296e8a5168f..69cf8eed06a 100755 --- a/libgo/testsuite/gotest +++ b/libgo/testsuite/gotest @@ -16,7 +16,7 @@ export LC_CTYPE=C GC=${GC:-gccgo} GL=${GL:-${GC-gccgo}} -GOLIBS= +GOLIBS=${GOLIBS:-} export GC GL GOLIBS NM=${NM:-nm} |