swiftPackages.swift: check for modern CXX interop flag in wrapper

This check is what determines whether the appropriate CFLAGS are set so
that Swift can find the C++ headers it needs for interop
This commit is contained in:
Sam
2025-09-18 11:40:55 -07:00
parent c221712e43
commit b2e971ac41

View File

@@ -107,7 +107,7 @@ dontLink=$isFrontend
for p in "${params[@]}"; do
case "$p" in
-enable-cxx-interop | -enable-experimental-cxx-interop)
-cxx-interoperability-mode=default | -enable-cxx-interop | -enable-experimental-cxx-interop)
isCxx=1 ;;
esac
done