Skip to content

Commit 876f672

Browse files
committed
Add python fixes for new macOS builds
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 7ff9bbd commit 876f672

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

patches/Python/macos-universal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
macos
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
diff --git a/configure b/configure
2+
index 2db11e6..bccbff9 100755
3+
--- a/configure
4+
+++ b/configure
5+
@@ -5184,9 +5184,6 @@ $as_echo "$as_me:
6+
fi
7+
8+
9+
-MULTIARCH=$($CC --print-multiarch 2>/dev/null)
10+
-
11+
-
12+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5
13+
$as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; }
14+
cat >> conftest.c <<EOF
15+
@@ -5343,6 +5340,11 @@ $as_echo "none" >&6; }
16+
fi
17+
rm -f conftest.c conftest.out
18+
19+
+if test x$PLATFORM_TRIPLET != xdarwin; then
20+
+ MULTIARCH=$($CC --print-multiarch 2>/dev/null)
21+
+fi
22+
+
23+
+
24+
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
25+
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
26+
as_fn_error $? "internal configure error for the platform triplet, please file a bug report" "$LINENO" 5

0 commit comments

Comments
 (0)