MacInstaller: use the pre-built libopensc.dylib for building OpenSC.tokend
This way it can be built without installing OpenSC on a clean machine. git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5193 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
0a9d507556
commit
f73eb87fed
|
@ -51,11 +51,6 @@ fi
|
|||
# compile
|
||||
make -j 2
|
||||
|
||||
if !(test -e /Library/OpenSC/lib/libopensc.dylib && (file /Library/OpenSC/lib/libopensc.dylib | grep $required_arch)); then
|
||||
echo "Installing OpenSC to support building OpenSC.tokend. Remove with opensc-uninstall after .dmg has been created"
|
||||
sudo make install
|
||||
fi
|
||||
|
||||
# copy files
|
||||
rm -rf target
|
||||
make install DESTDIR=${BUILDPATH}/target
|
||||
|
|
Loading…
Reference in New Issue