Merge pull request #17 from ilammy/macos-symlinks

Don’t symlink macOS framework if not building it
This commit is contained in:
Davide De Rosa 2020-05-09 17:57:11 +02:00 committed by GitHub
commit 5bea567b12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -149,6 +149,9 @@ for SYS in ${ALL_SYSTEMS[@]}; do
if [[ $SYS == "MacOSX" ]]; then
SYSDIR="$FWROOT/$SYS"
FWDIR="$SYSDIR/$FWNAME.framework"
if [[ ! -e "$FWDIR" ]]; then
continue
fi
cd $FWDIR
mkdir "Versions"