* tests/link-order.test: Clean up the uninstalled libraries

before linking the test executables so that they don't pick
up the dlls from the current dir on Cygwin and MinGW.
This commit is contained in:
Peter Ekberg 2005-09-22 06:44:24 +00:00 committed by Peter Rosin
parent a95fd21401
commit 0278b137e1
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2005-09-22 Peter Ekberg <peda@lysator.liu.se>,
* tests/link-order.test: Clean up the uninstalled libraries
before linking the test executables so that they don't pick
up the dlls from the current dir on Cygwin and MinGW.
2005-09-22 Tim Rice <tim@multitalents.net>
* libltdl/m4/libtool.m4 (LT_PATH_NM, _LT_LINKER_SHLIBS)

View File

@ -61,6 +61,9 @@ EOF
[0], [stdout], [stderr])
done
$LIBTOOL --mode=clean rm -f src/libb.la
$LIBTOOL --mode=clean rm -f src/liba.la
# Do not error if we do not relink (e.g. static-only systems)
AT_CHECK([if $EGREP relinking stderr; then
$EGREP ' -L.*\/new\/lib -lb -L.*\/old\/lib -lcee' stdout