Skip to content

Commit

Permalink
Don't require ld for no reason
Browse files Browse the repository at this point in the history
  • Loading branch information
maths22 committed Aug 29, 2024
1 parent d34e90e commit a0f8cf4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions clamav.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,7 @@ def update_defs_from_freshclam(path, library_path=""):
create_dir(path)
fc_env = os.environ.copy()
if library_path:
fc_env["LD_LIBRARY_PATH"] = "%s:%s" % (
":".join(current_library_search_path()),
CLAMAVLIB_PATH,
)
fc_env["LD_LIBRARY_PATH"] = CLAMAVLIB_PATH
print("Starting freshclam with defs in %s." % path)
fc_proc = subprocess.Popen(
[
Expand Down

0 comments on commit a0f8cf4

Please sign in to comment.