From b58e19db30906212eafb457243d832eebf4630df Mon Sep 17 00:00:00 2001 From: Douglas Creager Date: Tue, 19 Mar 2019 11:56:32 -0400 Subject: [PATCH] Explicitly prefer dynamic linking in test case --- src/test/run-make-fulldeps/redundant-libs/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/run-make-fulldeps/redundant-libs/Makefile b/src/test/run-make-fulldeps/redundant-libs/Makefile index 9a64f4ed07c..25643e50df6 100644 --- a/src/test/run-make-fulldeps/redundant-libs/Makefile +++ b/src/test/run-make-fulldeps/redundant-libs/Makefile @@ -10,6 +10,7 @@ # So in this example, we need to ensure that rustc keeps the _later_ reference # to foo, and not the former one. RUSTC_FLAGS = \ + -C prefer-dynamic \ -l static=bar \ -l foo \ -l static=baz \