hush the libpcsc query

This commit is contained in:
Rex Dieter 2006-03-06 20:35:49 +00:00
parent 0373ca458f
commit 1a841013a6

View File

@ -84,7 +84,7 @@ alongside; in act we suggest to do this.
# Note: this is just the name of the default shared lib to load in scdaemon,
# it can use other implementations too (including non-pcsc ones).
%if "%{?fedora}" > "3"
%global pcsclib %(basename $(ls -1 %{_libdir}/libpcsclite.so.?))
%global pcsclib %(basename $(ls -1 %{_libdir}/libpcsclite.so.? 2>/dev/null ) 2>/dev/null )
%else
%define pcsclib libpcsclite.so.0
%endif