diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2012-07-13 08:31:47 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2012-07-13 08:31:47 +0000 |
commit | 155f7eb7a9058fbb063911e2a22e995f3e6b13ed (patch) | |
tree | c3f5dcffd570f95508edf6e8e1ab1cc9a098791b /regress | |
parent | 4d9bf7d4507f75ae3cb92a1d2e34f12d131dbba9 (diff) |
wrong library ordering
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/libtool/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/regress/usr.bin/libtool/Makefile b/regress/usr.bin/libtool/Makefile index 41ca29e149c..ec85e24c5fc 100644 --- a/regress/usr.bin/libtool/Makefile +++ b/regress/usr.bin/libtool/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.30 2012/07/12 12:36:56 espie Exp $ +# $OpenBSD: Makefile,v 1.31 2012/07/13 08:31:46 espie Exp $ REGRESS_TARGETS = test-compile-0 test-link-0 test-install-0 \ test-run-0 test-link-1 test-install-1 test-run-1 \ test-link-2 test-link-3 test-link-4 \ @@ -23,7 +23,7 @@ FAILING_TARGETS += static-arch-fail REGRESS_TARGETS += version-override-0 version-override-1 error-5 \ ${COMPILE_TESTS} prefer-static linkception-0 \ release-0 release-1 -FAILING_TARGETS += test-all-static +FAILING_TARGETS += test-all-static trip-0 .endif REGRESS_TARGETS += ${FAILING_TARGETS} @@ -268,6 +268,13 @@ release-1: ${DEST}/lib/liba3.la @test -h ${DEST}/lib/liba3.so.0.0 @test `readlink ${DEST}/lib/liba3.so.0.0` = liba3-0.so.0.0 +trip-0: dummy.c a.lo b.lo + mkdir -p lib1 + ${CC} -shared -o lib1/libtrip.so.10.5 dummy.c + ${CC} -shared -o lib1/libtrip.so.10.10 dummy.c + ${LIBTOOL} --mode=link ${CC} -o libbogus.la -Llib1 ${SOPTS} a.lo b.lo -ltrip + if test -e .libs/libtrip.so.10.5; then exit 1; fi + #weird-shit-1: a.lo # ${LIBTOOL} --mode=link ${CC} -rpath /usr/local/lib --export-symbols a.def -o liba2.la a.lo # |