]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/good-library
Support versioned libraries (e.g. test.so.1.0.0).
[blhc/blhc.git] / t / logs / good-library
index c160a8a800ebcd6deeb74ea2e1de975e55e323c5..c077840de1d2dd713944bd14fbfc025cf332b821 100644 (file)
@@ -2,3 +2,5 @@
 # libraries.
 gcc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test.c -fPIC -DPIC -o libtest.o
 gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,relro -Wl,now -Wl,--as-needed -o libtest.so
+
+gcc -shared -fPIC test.o -Wl,-z -Wl,relro -Wl,now -o .libs/libtest.so.1.0.0