]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/tests.t
Support versioned libraries (e.g. test.so.1.0.0).
[blhc/blhc.git] / t / tests.t
index efbb120a9d55876c5dfd0e3332c45e1c721aec71..1d40f82750576a1bd7b98003b3d516553df2b2ab 100644 (file)
--- a/t/tests.t
+++ b/t/tests.t
@@ -276,6 +276,7 @@ is_blhc 'bad-library', '--all', 4,
         "CFLAGS missing (-fstack-protector): gcc -D_FORTIFY_SOURCE=2 -g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test.c -fPIC -DPIC -o libtest.o
 LDFLAGS missing (-Wl,-z,now): gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,relro -Wl,--as-needed -o libtest.so
 LDFLAGS missing (-Wl,-z,relro -Wl,-z,now): gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,--as-needed -o libtest.so
+LDFLAGS missing (-Wl,-z,now): gcc -shared -fPIC test.o -Wl,-z -Wl,relro -o .libs/libtest.so.1.0.0
 ";