Skip to content

Commit 4f2ea2c

Browse files
committed
Removing glib freezing for linux
1 parent 8deb526 commit 4f2ea2c

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

freeze.py

+13-14
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def find_files(directory, patterns):
285285
]
286286
and not libpath_file.startswith("libxcb-")
287287
) \
288-
or libpath_file in ["libgcrypt.so.11", "libQt5DBus.so.5", "libpng12.so.0", "libbz2.so.1.0", "libqxcb.so", "ld-linux-x86-64.so.2"]:
288+
or libpath_file in ["libgcrypt.so.11", "libQt5DBus.so.5", "libpng12.so.0", "libbz2.so.1.0", "libqxcb.so"]:
289289

290290
# Ignore missing files
291291
if os.path.exists(libpath):
@@ -296,19 +296,18 @@ def find_files(directory, patterns):
296296
# for certain distros (like Fedora, openSUSE, Debian, etc...)
297297
# Also add Glib related files (required for some distros)
298298

299-
for added_lib in [ARCHLIB + "libssl.so",
300-
ARCHLIB + "libcrypto.so",
301-
ARCHLIB + "libglib-2.0.so",
302-
ARCHLIB + "libgio-2.0.so",
303-
ARCHLIB + "libgmodule-2.0.so",
304-
ARCHLIB + "libthread-2.0.so",
305-
ARCHLIB + "libc.so",
306-
ARCHLIB + "ld-linux-x86-64.so",
307-
]:
308-
if os.path.exists(added_lib):
309-
external_so_files.append((added_lib, os.path.basename(added_lib)))
310-
else:
311-
log.warning("{}: not found, skipping".format(added_lib))
299+
# for added_lib in [ARCHLIB + "libssl.so",
300+
# ARCHLIB + "libcrypto.so",
301+
# ARCHLIB + "libglib-2.0.so",
302+
# ARCHLIB + "libgio-2.0.so",
303+
# ARCHLIB + "libgmodule-2.0.so",
304+
# ARCHLIB + "libthread-2.0.so",
305+
# ARCHLIB + "libc.so",
306+
# ]:
307+
# if os.path.exists(added_lib):
308+
# external_so_files.append((added_lib, os.path.basename(added_lib)))
309+
# else:
310+
# log.warning("{}: not found, skipping".format(added_lib))
312311

313312
elif sys.platform == "darwin":
314313
# Copy Mac specific files that cx_Freeze misses

0 commit comments

Comments
 (0)