Fix secure messaging library name on Mac OS X

Mac OS X uses "libsmm-local.3.dylib" as library name. The default value
"libsmm-local.so.3" is correct for Linux but not for Mac OS X.

This bug prevented the "opensc-tool -a" to work correctly and return the
ATR if an IAS card is present in the reader.
This commit is contained in:
Ludovic Rousseau 2014-09-16 15:23:47 +02:00 committed by Ludovic Rousseau
parent be200ab3c8
commit 99281793e0
1 changed files with 3 additions and 0 deletions

View File

@ -365,6 +365,9 @@ if test "${enable_sm}" = "yes"; then
*-mingw*|*-winnt*|*-cygwin*)
DEFAULT_SM_MODULE="smm-local.dll"
;;
*-apple-*)
DEFAULT_SM_MODULE="libsmm-local.3.dylib"
;;
*)
DEFAULT_SM_MODULE="libsmm-local.so.3"
;;