]>
git.proxmox.com Git - libtpms.git/commit
build: fix out of tree builds
../libtool --tag=CC --mode=link gcc -include tpm_library_conf.h -I../../include/libtpms -fstack-protector-strong -Wl,-z,relro -Wl,-z,now -DTPM_V12 -DTPM_PCCLIENT -DTPM_VOLATILE_LOAD -DTPM_ENABLE_ACTIVATE -DTPM_AES -DTPM_LIBTPMS_CALLBACKS -DTPM_NV_DISK -DTPM_POSIX -g -O2 -Wall -Werror -Wreturn-type -Wsign-compare -Wl,--version-script=./libtpms.syms -version-info 6:0:6 -no-undefined -o libtpms.la -rpath /usr/local/lib libtpms_la-tpm_library.lo libtpms_tpm12.la -lcrypto
libtool: link: gcc -shared -fPIC -DPIC .libs/libtpms_la-tpm_library.o -Wl,--whole-archive ./.libs/libtpms_tpm12.a -Wl,--no-whole-archive -lcrypto -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -g -O2 -Wl,--version-script=./libtpms.syms -Wl,-soname -Wl,libtpms.so.0 -o .libs/libtpms.so.0.6.0
/usr/bin/ld: cannot open linker script file ./libtpms.syms: No such file or directory
libtpms.syms is inside the source directory, so when doing out
of tree builds it can't be found - fix the libtool invocation.
Signed-off-by: André Draszik <adraszik@tycoint.com>