X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Flogs%2Flibtool;fp=t%2Flogs%2Flibtool;h=cde74f9a312d081bbee11103bbd7d8e8b31ab1f3;hp=0000000000000000000000000000000000000000;hb=0df26c1c2b30a44adc06f9c93650a6f2e31475c0;hpb=cf83d58fd04f141f4552050b285e2fbfc8189bcb diff --git a/t/logs/libtool b/t/logs/libtool new file mode 100644 index 0000000..cde74f9 --- /dev/null +++ b/t/logs/libtool @@ -0,0 +1,15 @@ +libtool: link: g++ -shared test-a.o test-b.o test-b.o test-c.o -O2 -pie -Wl,relro -Wl,now -o test.so +libtool: link: g++ -shared test-a.o test-b.o test-b.o test-c.o -O2 -Wl,relro -o test.so + +libtool: link: gcc -Wl,-z -Wl,relro -o test test.o +/bin/bash ../libtool --tag=CC --mode=link gcc -Wl,-z,relro -o test.so test.o +/bin/bash ../libtool --tag=CC --mode=link gcc -Wl,-z,relro -o test.so test.o + /bin/bash ../libtool --tag=CC --mode=link gcc -Wl,-z,relro -o test.so test.o + +# Just to be sure, libtool won't do this. Note the test.c. +/bin/bash ../libtool --tag=CC --mode=link gcc -Wl,-z,relro -o test.so test.c + +libtool: install: /usr/bin/install -c ... +/bin/bash ../../libtool --mode=install /usr/bin/install -c ... + /bin/bash ../../libtool --mode=install /usr/bin/install -c ... + /bin/bash ../../../libtool --mode=install /usr/bin/install -c ...