summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMichael Felt <aixtools@users.noreply.github.com>2017-12-19 12:58:49 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-12-19 12:58:49 (GMT)
commitc5ae169e1b73315672770517bf51cf8464286c76 (patch)
tree799e3be3da572d073580c444ff877bff8f1efd18 /Modules
parent319c0345cdd8fddb49d235462e71883f1dd51b99 (diff)
downloadcpython-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.c3
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;