On Mon, Jul 16, 2012 at 11:24 PM, Jonathan K. Bullard <jkbull...@gmail.com> wrote: >> Please try: >> >> ./configure CFLAGS="-Ixxx" LDFLAGS="-Lyyy" >> >> Should be simpler. > > > Thanks. Although > > LDFLAGS="-Lxxx -Lyyy -Lzzz" > > builds, but it causes config to output "checking for PKCS11_HELPER... no". I > assume that if it isn't finding pkcs11-helper, then it might not configure > the build to support it. (Otherwise, what's the point of checking for it?)
Right. For pkcs11-helper you need the PKCS11_HELPER_{CFLAGS,LIBS}. But if you build static, you cannot use pkcs11-helper, as PKCS#11 is shared object. Alon.