diff options
author | Michael Felt <aixtools@users.noreply.github.com> | 2017-12-19 12:58:49 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-12-19 12:58:49 (GMT) |
commit | c5ae169e1b73315672770517bf51cf8464286c76 (patch) | |
tree | 799e3be3da572d073580c444ff877bff8f1efd18 /Modules | |
parent | 319c0345cdd8fddb49d235462e71883f1dd51b99 (diff) | |
download | cpython-c5ae169e1b73315672770517bf51cf8464286c76.zip cpython-c5ae169e1b73315672770517bf51cf8464286c76.tar.gz cpython-c5ae169e1b73315672770517bf51cf8464286c76.tar.bz2 |
bpo-26439 Fix ctypes.util.find_library failure on AIX (#4507)
Implement find_library() support in ctypes/util for AIX.
Add some AIX specific tests.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 448d4b7..38b6c80 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -13007,6 +13007,9 @@ all_ins(PyObject *m) #if HAVE_DECL_RTLD_DEEPBIND if (PyModule_AddIntMacro(m, RTLD_DEEPBIND)) return -1; #endif +#if HAVE_DECL_RTLD_MEMBER + if (PyModule_AddIntMacro(m, RTLD_MEMBER)) return -1; +#endif #ifdef HAVE_GETRANDOM_SYSCALL if (PyModule_AddIntMacro(m, GRND_RANDOM)) return -1; |