Add check for the link for libmagic.dylib.

This commit is contained in:
Stephan Witt 2014-08-22 10:05:40 +02:00
parent 07c5124496
commit 7590dda669

View File

@ -438,6 +438,8 @@ if [ -d "${LibMagicSourceDir}" -a ! -f "${LibMagicInstallHdr}" ]; then
(
cd "${LibMagicInstallDir}"
lipo -create ${OBJ_LIST} -o lib/${file}
# check for the "missing link"...
test -f lib/libmagic.dylib || (cd lib ; ln -s "${LibMagicLibrary}" libmagic.dylib)
)
done
# --------