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