JackOfMostTrades / aws-kms-pkcs11

PKCS#11 Provider Using AWS KMS
MIT License
39 stars 17 forks source link

Fix build on some modern Ubuntu systems #28

Closed fuhry closed 9 months ago

fuhry commented 9 months ago

Modern Ubuntu systems place shared libraries in a subdirectory of /usr/lib indicated by the output of gcc -dumpmachine; on modern x86_64 systems this is /usr/lib/x86_64-linux-gnu. The Makefile did not account for this case, therefore requiring modifications before building on Ubuntu systems.

This commit also modifies the Makefile to respect an AWS_SDK_LIB_PATH that was overridden on the command line.

JackOfMostTrades commented 9 months ago

Looks good. Thank you!

fuhry commented 9 months ago

Great, thanks for the quick merge!