]> git.proxmox.com Git - libtpms.git/commit
build: fix out of tree builds
authorAndré Draszik <adraszik@tycoint.com>
Mon, 9 Oct 2017 11:38:21 +0000 (12:38 +0100)
committerStefan Berger <stefanb@us.ibm.com>
Mon, 9 Oct 2017 12:19:02 +0000 (08:19 -0400)
commit9649f4b866ea8c3c4c778d80d6751b1116be7a90
treea30fd9b2ff420b23dfde672f590ee2cf76e739fe
parent4ea0a044caaa2a2478d3b65b674416c9521c01b6
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>
src/Makefile.am