Skip to content

Commit 60551b4

Browse files
committed
Don't symlink macOS framework if not building it
If only iOS frameworks are being build, we should not try to create macOS framework by symlinking stuff. Do this only if the framework actually requested by the arch/target selection.
1 parent 7df037b commit 60551b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

create-openssl-framework.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ for SYS in ${ALL_SYSTEMS[@]}; do
149149
if [[ $SYS == "MacOSX" ]]; then
150150
SYSDIR="$FWROOT/$SYS"
151151
FWDIR="$SYSDIR/$FWNAME.framework"
152+
if [[ ! -e "$FWDIR" ]]; then
153+
continue
154+
fi
152155
cd $FWDIR
153156

154157
mkdir "Versions"

0 commit comments

Comments
 (0)