]> git.lyx.org Git - features.git/commitdiff
Add check for the link for libmagic.dylib.
authorStephan Witt <switt@lyx.org>
Fri, 22 Aug 2014 08:05:40 +0000 (10:05 +0200)
committerStephan Witt <switt@lyx.org>
Fri, 22 Aug 2014 08:05:40 +0000 (10:05 +0200)
development/LyX-Mac-binary-release.sh

index 2175822afd539283a11825d048ef2dfce1a85ac6..4e57931ac0cacbdd23f5c6f25400ef0bd292cea4 100644 (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
        # --------