Reproduce expected hierarchy for macOS frameworks
This commit is contained in:
parent
4b928744b7
commit
c57fea7d24
|
@ -143,3 +143,23 @@ else
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# macOS symlinks
|
||||||
|
for SYS in ${ALL_SYSTEMS[@]}; do
|
||||||
|
if [[ $SYS == "MacOSX" ]]; then
|
||||||
|
SYSDIR="$FWROOT/$SYS"
|
||||||
|
FWDIR="$SYSDIR/$FWNAME.framework"
|
||||||
|
cd $FWDIR
|
||||||
|
|
||||||
|
mkdir "Versions"
|
||||||
|
mkdir "Versions/A"
|
||||||
|
mkdir "Versions/A/Resources"
|
||||||
|
mv "openssl" "Headers" "Versions/A"
|
||||||
|
mv "Info.plist" "Versions/A/Resources"
|
||||||
|
|
||||||
|
(cd "Versions" && ln -s "A" "Current")
|
||||||
|
ln -s "Versions/Current/openssl"
|
||||||
|
ln -s "Versions/Current/Headers"
|
||||||
|
ln -s "Versions/Current/Resources"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue