Closed Jnchi closed 5 years ago
make V=99
/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -fPIC -fno-stack-protector -module -shared -export-symbols-regex "pam_sm_(setcred|open_session|authenticate)" -o pam_aad.la -rpath /usr/local/lib/security src/pam_aad_la-pam_aad.lo src/pam_aad_la-rest.lo src/pam_aad_la-cJSON.lo src/pam_aad_la-utils.lo src/pam_aad_la-jwt.lo -lpam -lssl -lcrypto -lm -ljwt -lpam -lm -ljwt -lcrypto
libtool: link: /usr/bin/nm -B src/.libs/pam_aad_la-pam_aad.o src/.libs/pam_aad_la-rest.o src/.libs/pam_aad_la-cJSON.o src/.libs/pam_aad_la-utils.o src/.libs/pam_aad_la-jwt.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/pam_aad.exp
libtool: link: /bin/grep -E -e "pam_sm_(setcred|open_session|authenticate)" ".libs/pam_aad.exp" > ".libs/pam_aad.expT"
libtool: link: mv -f ".libs/pam_aad.expT" ".libs/pam_aad.exp"
libtool: link: echo "{ global:" > .libs/pam_aad.ver
libtool: link: cat .libs/pam_aad.exp | sed -e "s/\(.*\)/\1;/" >> .libs/pam_aad.ver
libtool: link: echo "local: *; };" >> .libs/pam_aad.ver
libtool: link: gcc -shared -fPIC -DPIC src/.libs/pam_aad_la-pam_aad.o src/.libs/pam_aad_la-rest.o src/.libs/pam_aad_la-cJSON.o src/.libs/pam_aad_la-utils.o src/.libs/pam_aad_la-jwt.o -lssl -lpam -lm -ljwt -lcrypto -g -O2 -Wl,-soname -Wl,pam_aad.so.0 -Wl,-version-script -Wl,.libs/pam_aad.ver -o .libs/pam_aad.so.0.0.0
libtool: link: (cd ".libs" && rm -f "pam_aad.so.0" && ln -s "pam_aad.so.0.0.0" "pam_aad.so.0")
libtool: link: (cd ".libs" && rm -f "pam_aad.so" && ln -s "pam_aad.so.0.0.0" "pam_aad.so")
libtool: link: ( cd ".libs" && rm -f "pam_aad.la" && ln -s "../pam_aad.la" "pam_aad.la" )
LDFLAGS=-x -Wl,--strip-debug -Wl,--build-id=none
Resources:
See also:
#define RESOURCE_ID "00000002-0000-0000-c000-000000000000"
make super-clean
-> make distclean
?-rw-r--r--
pam_aad.la
- See: [xgi] Don't install libtool .la files (#4898)
pam_aad.so
; no *.so.0.*
symlinksautoreconf -fiv
./configure --with-pam-dir=/lib/x86_64-linux-gnu/security
make
sudo make install