-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpatch-configure.diff
32 lines (28 loc) · 970 Bytes
/
patch-configure.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- configure.orig 2021-10-05 04:40:46.000000000 +1100
+++ configure 2021-10-10 03:31:40.000000000 +1100
@@ -3255,6 +3255,8 @@
;;
esac
+ FRAMEWORKINSTALLAPPSPREFIX="@@APPLICATIONS_DIR@@"
+
prefix=$PYTHONFRAMEWORKINSTALLDIR/Versions/$VERSION
# Add files for Mac specific code to the list of output
@@ -6563,7 +6565,7 @@
# non-suffixed name in their versioned llvm directory.
llvm_bin_dir=''
-llvm_path="${PATH}"
+llvm_path="/bin:/sbin:/usr/bin:/usr/sbin"
if test "${CC}" = "clang"
then
clang_bin=`which clang`
@@ -7580,6 +7582,11 @@
;;
esac
+ UNIVERSAL_ARCH_FLAGS="@@UNIVERSAL_ARCH_FLAGS@@"
+ LIPO_32BIT_FLAGS="@@LIPO_32BIT_FLAGS@@"
+ LIPO_INTEL64_FLAGS="@@LIPO_INTEL64_FLAGS@@"
+ ARCH_RUN_32BIT="@@ARCH_RUN_32BIT@@"
+
if test "${UNIVERSALSDK}" != "/"
then
CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"