diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-06-20 13:57:20 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-06-20 13:57:20 (GMT) |
commit | 439bf93f8cf8c3c24fc8d5d2f6438ca7adb72d0d (patch) | |
tree | 59e71042150e6c114c406f9c1e0fdd8a521a4bbe /Lib/distutils/tests/test_unixccompiler.py | |
parent | dae5db2805ee2bed27cab737f11e73c1a6566726 (diff) | |
download | cpython-439bf93f8cf8c3c24fc8d5d2f6438ca7adb72d0d.zip cpython-439bf93f8cf8c3c24fc8d5d2f6438ca7adb72d0d.tar.gz cpython-439bf93f8cf8c3c24fc8d5d2f6438ca7adb72d0d.tar.bz2 |
Fixed #6164 AIX specific linker argument in Distutils unixcompiler
Diffstat (limited to 'Lib/distutils/tests/test_unixccompiler.py')
-rw-r--r-- | Lib/distutils/tests/test_unixccompiler.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_unixccompiler.py b/Lib/distutils/tests/test_unixccompiler.py index 94e9edf..96f5454 100644 --- a/Lib/distutils/tests/test_unixccompiler.py +++ b/Lib/distutils/tests/test_unixccompiler.py @@ -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) |