File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ --- a/src/runtime/platform/LibraryLoader.cs
2+ +++ b/src/runtime/platform/LibraryLoader.cs
3+ @@ -36,7 +36,7 @@ namespace Python.Runtime.Platform
4+ private static int RTLD_NOW = 0x2;
5+ private static int RTLD_GLOBAL = 0x100;
6+ private static IntPtr RTLD_DEFAULT = IntPtr.Zero;
7+ - private const string NativeDll = "libdl.so";
8+ + private const string NativeDll = "libdl.so.2";
9+
10+ public IntPtr Load(string dllToLoad)
11+ {
Original file line number Diff line number Diff line change 88source :
99 url : https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
1010 sha256 : b7287480a1f6ae4b6fc80d775446d8af00e051ca1646b6cc3d32c5d3a461ede3
11+ patches :
12+ - libdl.patch
1113
1214build :
1315 number : 2
@@ -30,10 +32,7 @@ requirements:
3032
3133test :
3234 imports :
33- - clr # [not linux]
34- commands :
35- - export LD_LIBRARY_PATH=${BUILD_PREFIX}/x86_64-conda-linux-gnu/sysroot/usr/lib/ # [linux]
36- - $PYTHON -c 'import clr' # [linux]
35+ - clr
3736
3837about :
3938 home : http://pythonnet.github.io
You can’t perform that action at this time.
0 commit comments