pypy3.9/009-add-libxcrypt-support.patch

14 lines
694 B
Diff
Raw Normal View History

2018-03-29 19:24:14 +00:00
diff --git a/pypy/module/crypt/interp_crypt.py b/pypy/module/crypt/interp_crypt.py
2019-02-28 23:06:59 +00:00
index bd13f6f..1022c9e 100644
2018-03-29 19:24:14 +00:00
--- a/pypy/module/crypt/interp_crypt.py
+++ b/pypy/module/crypt/interp_crypt.py
2019-02-28 23:06:59 +00:00
@@ -9,7 +9,7 @@ elif sys.platform.startswith('linux'):
# crypt() is defined only in crypt.h on some Linux variants (eg. Fedora 28)
eci = ExternalCompilationInfo(libraries=['crypt'], includes=["crypt.h"])
2018-03-29 19:24:14 +00:00
else:
- eci = ExternalCompilationInfo(libraries=['crypt'])
+ eci = ExternalCompilationInfo(libraries=['crypt'], includes=['crypt.h'])
c_crypt = rffi.llexternal('crypt', [rffi.CCHARP, rffi.CCHARP], rffi.CCHARP,
compilation_info=eci, releasegil=False)
2019-02-28 23:06:59 +00:00