@@ -163,7 +163,7 @@ index ec0857a4a99..2350e9dc821 100644
163
163
# elif !defined(TARGET_OS_OSX) || TARGET_OS_OSX
164
164
PLATFORM_TRIPLET=darwin
165
165
diff --git a/configure b/configure
166
- index beffc1fd76c..b2daf3467cd 100755
166
+ index 7e1e5e594ca..39a050c1451 100755
167
167
--- a/configure
168
168
+++ b/configure
169
169
@@ -978,6 +978,8 @@
@@ -243,17 +243,17 @@ index beffc1fd76c..b2daf3467cd 100755
243
243
esac
244
244
fi
245
245
@@ -4147,6 +4179,14 @@
246
- aarch64-apple-ios*-simulator) CXX=arm64-apple-ios-simulator-clang ;;
247
- aarch64-apple-ios*) CXX=arm64-apple-ios-clang ;;
248
- x86_64-apple-ios*-simulator) CXX=x86_64-apple-ios-simulator-clang ;;
246
+ aarch64-apple-ios*-simulator) CXX=arm64-apple-ios-simulator-clang++ ;;
247
+ aarch64-apple-ios*) CXX=arm64-apple-ios-clang++ ;;
248
+ x86_64-apple-ios*-simulator) CXX=x86_64-apple-ios-simulator-clang++ ;;
249
249
+
250
- + aarch64-apple-tvos*-simulator) CXX=arm64-apple-tvos-simulator-clang ;;
251
- + aarch64-apple-tvos*) CXX=arm64-apple-tvos-clang ;;
252
- + x86_64-apple-tvos*-simulator) CXX=x86_64-apple-tvos-simulator-clang ;;
250
+ + aarch64-apple-tvos*-simulator) CXX=arm64-apple-tvos-simulator-clang++ ;;
251
+ + aarch64-apple-tvos*) CXX=arm64-apple-tvos-clang++ ;;
252
+ + x86_64-apple-tvos*-simulator) CXX=x86_64-apple-tvos-simulator-clang++ ;;
253
253
+
254
- + aarch64-apple-watchos*-simulator) CXX=arm64-apple-watchos-simulator-clang ;;
255
- + aarch64-apple-watchos*) CXX=arm64_32-apple-watchos-clang ;;
256
- + x86_64-apple-watchos*-simulator) CXX=x86_64-apple-watchos-simulator-clang ;;
254
+ + aarch64-apple-watchos*-simulator) CXX=arm64-apple-watchos-simulator-clang++ ;;
255
+ + aarch64-apple-watchos*) CXX=arm64_32-apple-watchos-clang++ ;;
256
+ + x86_64-apple-watchos*-simulator) CXX=x86_64-apple-watchos-simulator-clang++ ;;
257
257
*)
258
258
esac
259
259
fi
@@ -709,8 +709,8 @@ index beffc1fd76c..b2daf3467cd 100755
709
709
then
710
710
711
711
for ac_func in clock_settime
712
- @@ -24590 ,8 +24746 ,8 @@
713
- MODULE_LDFLAGS ="\$(BLDLIBRARY)"
712
+ @@ -24593 ,8 +24749 ,8 @@
713
+ LIBPYTHON ="\$(BLDLIBRARY)"
714
714
fi
715
715
716
716
- # On iOS the shared libraries must be linked with the Python framework
@@ -720,7 +720,7 @@ index beffc1fd76c..b2daf3467cd 100755
720
720
MODULE_DEPS_SHARED="$MODULE_DEPS_SHARED \$(PYTHONFRAMEWORKDIR)/\$(PYTHONFRAMEWORK)"
721
721
fi
722
722
723
- @@ -27239 ,7 +27395 ,7 @@
723
+ @@ -27242 ,7 +27398 ,7 @@
724
724
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for device files" >&5
725
725
printf "%s\n" "$as_me: checking for device files" >&6;}
726
726
@@ -729,7 +729,7 @@ index beffc1fd76c..b2daf3467cd 100755
729
729
ac_cv_file__dev_ptmx=no
730
730
ac_cv_file__dev_ptc=no
731
731
else
732
- @@ -27672 ,7 +27828 ,7 @@
732
+ @@ -27675 ,7 +27831 ,7 @@
733
733
with_ensurepip=no ;; #(
734
734
WASI) :
735
735
with_ensurepip=no ;; #(
@@ -738,7 +738,7 @@ index beffc1fd76c..b2daf3467cd 100755
738
738
with_ensurepip=no ;; #(
739
739
*) :
740
740
with_ensurepip=upgrade
741
- @@ -28699 ,7 +28855 ,7 @@
741
+ @@ -28700 ,7 +28856 ,7 @@
742
742
;; #(
743
743
Darwin) :
744
744
;; #(
@@ -747,7 +747,7 @@ index beffc1fd76c..b2daf3467cd 100755
747
747
748
748
749
749
750
- @@ -32464 ,6 +32620 ,8 @@
750
+ @@ -32465 ,6 +32621 ,8 @@
751
751
"Mac/Resources/framework/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/framework/Info.plist" ;;
752
752
"Mac/Resources/app/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/app/Info.plist" ;;
753
753
"iOS/Resources/Info.plist") CONFIG_FILES="$CONFIG_FILES iOS/Resources/Info.plist" ;;
@@ -757,7 +757,7 @@ index beffc1fd76c..b2daf3467cd 100755
757
757
"Misc/python.pc") CONFIG_FILES="$CONFIG_FILES Misc/python.pc" ;;
758
758
"Misc/python-embed.pc") CONFIG_FILES="$CONFIG_FILES Misc/python-embed.pc" ;;
759
759
diff --git a/configure.ac b/configure.ac
760
- index 5842bd24c45..f97279331f6 100644
760
+ index 58f54076ff2..4825d131142 100644
761
761
--- a/configure.ac
762
762
+++ b/configure.ac
763
763
@@ -330,6 +330,12 @@
@@ -828,17 +828,17 @@ index 5842bd24c45..f97279331f6 100644
828
828
esac
829
829
fi
830
830
@@ -421,6 +451,14 @@
831
- aarch64-apple-ios*-simulator) CXX=arm64-apple-ios-simulator-clang ;;
832
- aarch64-apple-ios*) CXX=arm64-apple-ios-clang ;;
833
- x86_64-apple-ios*-simulator) CXX=x86_64-apple-ios-simulator-clang ;;
831
+ aarch64-apple-ios*-simulator) CXX=arm64-apple-ios-simulator-clang++ ;;
832
+ aarch64-apple-ios*) CXX=arm64-apple-ios-clang++ ;;
833
+ x86_64-apple-ios*-simulator) CXX=x86_64-apple-ios-simulator-clang++ ;;
834
834
+
835
- + aarch64-apple-tvos*-simulator) CXX=arm64-apple-tvos-simulator-clang ;;
836
- + aarch64-apple-tvos*) CXX=arm64-apple-tvos-clang ;;
837
- + x86_64-apple-tvos*-simulator) CXX=x86_64-apple-tvos-simulator-clang ;;
835
+ + aarch64-apple-tvos*-simulator) CXX=arm64-apple-tvos-simulator-clang++ ;;
836
+ + aarch64-apple-tvos*) CXX=arm64-apple-tvos-clang++ ;;
837
+ + x86_64-apple-tvos*-simulator) CXX=x86_64-apple-tvos-simulator-clang++ ;;
838
838
+
839
- + aarch64-apple-watchos*-simulator) CXX=arm64-apple-watchos-simulator-clang ;;
840
- + aarch64-apple-watchos*) CXX=arm64_32-apple-watchos-clang ;;
841
- + x86_64-apple-watchos*-simulator) CXX=x86_64-apple-watchos-simulator-clang ;;
839
+ + aarch64-apple-watchos*-simulator) CXX=arm64-apple-watchos-simulator-clang++ ;;
840
+ + aarch64-apple-watchos*) CXX=arm64_32-apple-watchos-clang++ ;;
841
+ + x86_64-apple-watchos*-simulator) CXX=x86_64-apple-watchos-simulator-clang++ ;;
842
842
*)
843
843
esac
844
844
fi
@@ -1211,8 +1211,8 @@ index 5842bd24c45..f97279331f6 100644
1211
1211
then
1212
1212
AC_CHECK_FUNCS([clock_settime], [], [
1213
1213
AC_CHECK_LIB([rt], [clock_settime], [
1214
- @@ -6176 ,8 +6316 ,8 @@
1215
- MODULE_LDFLAGS ="\$(BLDLIBRARY)"
1214
+ @@ -6179 ,8 +6319 ,8 @@
1215
+ LIBPYTHON ="\$(BLDLIBRARY)"
1216
1216
fi
1217
1217
1218
1218
- # On iOS the shared libraries must be linked with the Python framework
@@ -1222,7 +1222,7 @@ index 5842bd24c45..f97279331f6 100644
1222
1222
MODULE_DEPS_SHARED="$MODULE_DEPS_SHARED \$(PYTHONFRAMEWORKDIR)/\$(PYTHONFRAMEWORK)"
1223
1223
fi
1224
1224
1225
- @@ -6785 ,7 +6925 ,7 @@
1225
+ @@ -6788 ,7 +6928 ,7 @@
1226
1226
dnl NOTE: Inform user how to proceed with files when cross compiling.
1227
1227
dnl Some cross-compile builds are predictable; they won't ever
1228
1228
dnl have /dev/ptmx or /dev/ptc, so we can set them explicitly.
@@ -1231,7 +1231,7 @@ index 5842bd24c45..f97279331f6 100644
1231
1231
ac_cv_file__dev_ptmx=no
1232
1232
ac_cv_file__dev_ptc=no
1233
1233
else
1234
- @@ -7042 ,7 +7182 ,7 @@
1234
+ @@ -7045 ,7 +7185 ,7 @@
1235
1235
AS_CASE([$ac_sys_system],
1236
1236
[Emscripten], [with_ensurepip=no],
1237
1237
[WASI], [with_ensurepip=no],
@@ -1240,7 +1240,7 @@ index 5842bd24c45..f97279331f6 100644
1240
1240
[with_ensurepip=upgrade]
1241
1241
)
1242
1242
])
1243
- @@ -7452 ,7 +7592 ,7 @@
1243
+ @@ -7454 ,7 +7594 ,7 @@
1244
1244
[VxWorks*], [PY_STDLIB_MOD_SET_NA([_scproxy], [termios], [grp])],
1245
1245
dnl The _scproxy module is available on macOS
1246
1246
[Darwin], [],
@@ -1428,6 +1428,11 @@ index c3e261ecd9e..26ef7a95de4 100644
1428
1428
+ #!/bin/bash
1429
1429
+ xcrun --sdk appletvos${TVOS_SDK_VERSION} clang -target arm64-apple-tvos $@
1430
1430
--- /dev/null
1431
+ +++ b/tvOS/Resources/bin/arm64-apple-tvos-clang++
1432
+ @@ -0,0 +1,2 @@
1433
+ + #!/bin/bash
1434
+ + xcrun --sdk appletvos${TVOS_SDK_VERSION} clang++ -target arm64-apple-tvos $@
1435
+ --- /dev/null
1431
1436
+++ b/tvOS/Resources/bin/arm64-apple-tvos-cpp
1432
1437
@@ -0,0 +1,2 @@
1433
1438
+ #!/bin/bash
@@ -1443,6 +1448,11 @@ index c3e261ecd9e..26ef7a95de4 100644
1443
1448
+ #!/bin/bash
1444
1449
+ xcrun --sdk appletvsimulator${TVOS_SDK_VERSION} clang -target arm64-apple-tvos-simulator $@
1445
1450
--- /dev/null
1451
+ +++ b/tvOS/Resources/bin/arm64-apple-tvos-simulator-clang++
1452
+ @@ -0,0 +1,2 @@
1453
+ + #!/bin/bash
1454
+ + xcrun --sdk appletvsimulator${TVOS_SDK_VERSION} clang++ -target arm64-apple-tvos-simulator $@
1455
+ --- /dev/null
1446
1456
+++ b/tvOS/Resources/bin/arm64-apple-tvos-simulator-cpp
1447
1457
@@ -0,0 +1,2 @@
1448
1458
+ #!/bin/bash
@@ -1458,6 +1468,11 @@ index c3e261ecd9e..26ef7a95de4 100644
1458
1468
+ #!/bin/bash
1459
1469
+ xcrun --sdk appletvsimulator${TVOS_SDK_VERSION} clang -target x86_64-apple-tvos-simulator $@
1460
1470
--- /dev/null
1471
+ +++ b/tvOS/Resources/bin/x86_64-apple-tvos-simulator-clang++
1472
+ @@ -0,0 +1,2 @@
1473
+ + #!/bin/bash
1474
+ + xcrun --sdk appletvsimulator${TVOS_SDK_VERSION} clang++ -target x86_64-apple-tvos-simulator $@
1475
+ --- /dev/null
1461
1476
+++ b/tvOS/Resources/bin/x86_64-apple-tvos-simulator-cpp
1462
1477
@@ -0,0 +1,2 @@
1463
1478
+ #!/bin/bash
@@ -1660,6 +1675,11 @@ index c3e261ecd9e..26ef7a95de4 100644
1660
1675
+ #!/bin/bash
1661
1676
+ xcrun --sdk watchsimulator${WATCHOS_SDK_VERSION} clang -target arm64-apple-watchos-simulator $@
1662
1677
--- /dev/null
1678
+ +++ b/watchOS/Resources/bin/arm64-apple-watchos-simulator-clang++
1679
+ @@ -0,0 +1,2 @@
1680
+ + #!/bin/bash
1681
+ + xcrun --sdk watchsimulator${WATCHOS_SDK_VERSION} clang++ -target arm64-apple-watchos-simulator $@
1682
+ --- /dev/null
1663
1683
+++ b/watchOS/Resources/bin/arm64-apple-watchos-simulator-cpp
1664
1684
@@ -0,0 +1,2 @@
1665
1685
+ #!/bin/bash
@@ -1675,6 +1695,11 @@ index c3e261ecd9e..26ef7a95de4 100644
1675
1695
+ #!/bin/bash
1676
1696
+ xcrun --sdk watchos${WATCHOS_SDK_VERSION} clang -target arm64_32-apple-watchos $@
1677
1697
--- /dev/null
1698
+ +++ b/watchOS/Resources/bin/arm64_32-apple-watchos-clang++
1699
+ @@ -0,0 +1,2 @@
1700
+ + #!/bin/bash
1701
+ + xcrun --sdk watchos${WATCHOS_SDK_VERSION} clang++ -target arm64_32-apple-watchos $@
1702
+ --- /dev/null
1678
1703
+++ b/watchOS/Resources/bin/arm64_32-apple-watchos-cpp
1679
1704
@@ -0,0 +1,2 @@
1680
1705
+ #!/bin/bash
@@ -1690,6 +1715,11 @@ index c3e261ecd9e..26ef7a95de4 100644
1690
1715
+ #!/bin/bash
1691
1716
+ xcrun --sdk watchsimulator${WATCHOS_SDK_VERSION} clang -target x86_64-apple-watchos-simulator $@
1692
1717
--- /dev/null
1718
+ +++ b/watchOS/Resources/bin/x86_64-apple-watchos-simulator-clang++
1719
+ @@ -0,0 +1,2 @@
1720
+ + #!/bin/bash
1721
+ + xcrun --sdk watchsimulator${WATCHOS_SDK_VERSION} clang++ -target x86_64-apple-watchos-simulator $@
1722
+ --- /dev/null
1693
1723
+++ b/watchOS/Resources/bin/x86_64-apple-watchos-simulator-cpp
1694
1724
@@ -0,0 +1,2 @@
1695
1725
+ #!/bin/bash
0 commit comments