mirror of
https://github.com/python/cpython.git
synced 2025-09-23 00:43:12 +00:00
Fixed #6164 AIX specific linker argument in Distutils unixcompiler
This commit is contained in:
parent
dae5db2805
commit
439bf93f8c
3 changed files with 28 additions and 16 deletions
|
@ -86,6 +86,14 @@ class UnixCCompilerTestCase(unittest.TestCase):
|
|||
sysconfig.get_config_var = gcv
|
||||
self.assertEqual(self.cc.rpath_foo(), '-R/foo')
|
||||
|
||||
# AIX C/C++ linker
|
||||
sys.platform = 'aix'
|
||||
def gcv(v):
|
||||
return 'xxx'
|
||||
sysconfig.get_config_var = gcv
|
||||
self.assertEqual(self.cc.rpath_foo(), '-blibpath:/foo')
|
||||
|
||||
|
||||
def test_suite():
|
||||
return unittest.makeSuite(UnixCCompilerTestCase)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue