Skip to content

Commit c5516b9

Browse files
Deadpiklefaithfracture
authored andcommitted
Fix macOS $ARCH copying not being used properly
When splitting fat binaries, the wrong variable is used for macOS if there is only 1 arch.
1 parent 530d4f3 commit c5516b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ scrunchAllLibsTogetherInOneLibPerPlatform()
910910
done
911911
else
912912
cp "macos-build/stage/lib/libboost_$NAME.a" \
913-
"$MACOS_BUILD_DIR/$ARCH/libboost_$NAME.a"
913+
"$MACOS_BUILD_DIR/${MACOS_ARCHS[0]}/libboost_$NAME.a"
914914
fi
915915
fi
916916
done

0 commit comments

Comments
 (0)