Skip to content

Commit 8f3095f

Browse files
committed
Fixed #466.
1 parent 27748fb commit 8f3095f

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed
118 KB
Binary file not shown.

Diff for: src/loader/definitions.h

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
# define VCRUNTIME_LIB "Python3/plat-win/vcruntime140.dll"
4747
#elif defined(LINUX)
4848
# define PYLIB_NAME PYLIB_NAME_LINUX
49+
# define ZLIB_LIB "Python3/plat-linux/libz.so.1.2.11"
4950
#endif
5051

5152
#define MAX_PATH_LENGTH 1024

Diff for: src/loader/loader_main.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,13 @@ bool CSourcePython::Load( CreateInterfaceFn interfaceFactory, CreateInterfaceFn
208208
if( SPLoadLibrary(engine, VCRUNTIME_LIB) == NULL ) {
209209
return false;
210210
}
211+
212+
// ------------------------------------------------------------------
213+
// Load linux dependencies.
214+
// ------------------------------------------------------------------
215+
#elif __linux__
216+
// See issue #466.
217+
SPLoadLibrary(engine, ZLIB_LIB);
211218
#endif
212219

213220
// ------------------------------------------------------------------

0 commit comments

Comments
 (0)