-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add python fixes for new macOS builds
Signed-off-by: falkTX <falktx@falktx.com>
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
macos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/configure b/configure | ||
index 2db11e6..bccbff9 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -5184,9 +5184,6 @@ $as_echo "$as_me: | ||
fi | ||
|
||
|
||
-MULTIARCH=$($CC --print-multiarch 2>/dev/null) | ||
- | ||
- | ||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5 | ||
$as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; } | ||
cat >> conftest.c <<EOF | ||
@@ -5343,6 +5340,11 @@ $as_echo "none" >&6; } | ||
fi | ||
rm -f conftest.c conftest.out | ||
|
||
+if test x$PLATFORM_TRIPLET != xdarwin; then | ||
+ MULTIARCH=$($CC --print-multiarch 2>/dev/null) | ||
+fi | ||
+ | ||
+ | ||
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then | ||
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then | ||
as_fn_error $? "internal configure error for the platform triplet, please file a bug report" "$LINENO" 5 |