about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDouglas Creager <dcreager@dcreager.net>2019-03-19 11:56:32 -0400
committerDouglas Creager <dcreager@dcreager.net>2019-03-19 11:56:32 -0400
commitb58e19db30906212eafb457243d832eebf4630df (patch)
treeac29b421b9da8465649adc284f674e3c211c442b /src
parent8b6c566b9d405268312b32059f2f4a1cd3c24dfc (diff)
downloadrust-b58e19db30906212eafb457243d832eebf4630df.tar.gz
rust-b58e19db30906212eafb457243d832eebf4630df.zip
Explicitly prefer dynamic linking in test case
Diffstat (limited to 'src')
-rw-r--r--src/test/run-make-fulldeps/redundant-libs/Makefile1
1 files changed, 1 insertions, 0 deletions
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 \