-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaix_bldshared.patch
More file actions
28 lines (27 loc) · 1.07 KB
/
Copy pathaix_bldshared.patch
File metadata and controls
28 lines (27 loc) · 1.07 KB
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
diff -ur Lib/sysconfig.py Lib/sysconfig.py
--- Lib/sysconfig.py
+++ Lib/sysconfig.py
@@ -312,12 +312,6 @@ def _generate_posix_vars():
msg = msg + " (%s)" % e.strerror
raise IOError(msg)
- # On AIX, there are wrong paths to the linker scripts in the Makefile
- # -- these paths are relative to the Python source, but when installed
- # the scripts are in another directory.
- if _PYTHON_BUILD:
- vars['LDSHARED'] = vars['BLDSHARED']
-
# There's a chicken-and-egg situation on OS X with regards to the
# _sysconfigdata module after the changes introduced by #15298:
# get_config_vars() is called by get_platform() as part of the
diff -ur configure configure
--- configure
+++ configure
@@ -8538,7 +8538,7 @@ if test -z "$LDSHARED"
then
case $ac_sys_system/$ac_sys_release in
AIX*)
- BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
+ BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp"
LDSHARED="\$(BINLIBDEST)/config/ld_so_aix \$(CC) -bI:\$(BINLIBDEST)/config/python.exp"
;;
BeOS*)