* ld-elf/shared.exp (libneeded1a.so): Override any system
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / shared.exp
index eef264e1581b1d86d91b2a4d6cae509e6c1f64a3..2feb73086c61d34e01b35689cb52c819ec6c7870 100644 (file)
@@ -183,7 +183,7 @@ set build_tests {
    "-shared" "-fPIC"
    {needed1b.c} {} "libneeded1b.so"}
   {"Build libneeded1a.so"
-   "-shared -Ltmpdir -lneeded1b" "-fPIC"
+   "-shared -Wl,--add-needed,--no-as-needed -Ltmpdir -lneeded1b" "-fPIC"
    {needed1a.c} {} "libneeded1a.so"}
   {"Build libneeded1c.o"
    "-r -nostdlib" ""
This page took 0.024109 seconds and 4 git commands to generate.