]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/good-library
Correctly detect linking for CGI binaries (e.g. test.cgi).
[blhc/blhc.git] / t / logs / good-library
index 7d6a0ec88fce38575024ffa09a24710385c31a65..a104f0d96934ccd8b85a39c5f8704206fd065792 100644 (file)
@@ -9,3 +9,5 @@ gcc -shared -fPIC test.o -Wl,-z -Wl,relro -Wl,now -o .libs/libtest.so.1.0.0
 
 gcc -shared -fPIE -pie -o libtest.so.0d ./test-a.o test/./test-b.o -Wl,-z,relro -Wl,-z,now -lpthread -ldl
 /usr/bin/g++ -shared -fpic -Wl,-z,relro -Wl,-z,now -o libtest-6.1.so.0 test.o -ltiff -lz
+
+gcc -Wl,-z,now -Wl,-z,relro -Wl,--as-needed  -fPIE -pie -o test.cgi test.o -lgcrypt