]> granicus.if.org Git - python/commitdiff
bpo-36503: remove references to 'aix3' and 'aix4' (GH-12658)
authorMichael Felt <aixtools@users.noreply.github.com>
Mon, 8 Apr 2019 00:51:33 +0000 (02:51 +0200)
committerInada Naoki <songofacandy@gmail.com>
Mon, 8 Apr 2019 00:51:33 +0000 (09:51 +0900)
Lib/test/test_fcntl.py
Misc/ACKS
Misc/NEWS.d/next/Build/2019-04-02-09-25-23.bpo-36503.0xzfkQ.rst [new file with mode: 0644]
setup.py

index acd5c7cc586472d255d07255eb1a5d8b75791db8..5d4abe388f78287b69be451b8651d377c7e89a67 100644 (file)
@@ -34,7 +34,7 @@ def get_lockdata():
                                fcntl.F_WRLCK, 0)
     elif sys.platform.startswith('gnukfreebsd'):
         lockdata = struct.pack('qqihhi', 0, 0, 0, fcntl.F_WRLCK, 0, 0)
-    elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
+    elif sys.platform in ['hp-uxB', 'unixware7']:
         lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
     else:
         lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
index df6be5912785a79a45d54834058b038b0590ffd1..19c7e43053511e595cecd343be55cc41c8426323 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -476,6 +476,7 @@ Jim Fasarakis-Hilliard
 Mark Favas
 Sergey Fedoseev
 Boris Feld
+M. Felt
 Thomas Fenzl
 Niels Ferguson
 Francisco Fernández Castaño
diff --git a/Misc/NEWS.d/next/Build/2019-04-02-09-25-23.bpo-36503.0xzfkQ.rst b/Misc/NEWS.d/next/Build/2019-04-02-09-25-23.bpo-36503.0xzfkQ.rst
new file mode 100644 (file)
index 0000000..764c397
--- /dev/null
@@ -0,0 +1,2 @@
+Remove references to "aix3" and "aix4".
+Patch by M. Felt.
index c278f08b8e6d2f41cdf86713b9eb27572004c442..d03596029149aafd7162a9c314d5dae292f72541 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1882,9 +1882,6 @@ class PyBuildExt(build_ext):
         libs.append('tk'+ version)
         libs.append('tcl'+ version)
 
-        if HOST_PLATFORM in ['aix3', 'aix4']:
-            libs.append('ld')
-
         # Finally, link with the X11 libraries (not appropriate on cygwin)
         if not CYGWIN:
             libs.append('X11')