Skip to content

Commit

Permalink
Drop un-used patchelf dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
azubieta committed Jun 22, 2022
1 parent 3ee1ac1 commit 17079f8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions appimagebuilder/modules/setup/helpers/libc.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

from packaging import version

from appimagebuilder.utils.patchelf import PatchElf, PatchElfError
from appimagebuilder.utils.finder import Finder
from .base_helper import BaseHelper
from ..environment import Environment
Expand All @@ -34,9 +33,6 @@ def __init__(self, app_dir, finder):
super().__init__(app_dir, finder)

self.priority = 100
self.patch_elf = PatchElf()
self.patch_elf.logger.level = logging.WARNING
self.interpreters = set()

def get_glibc_path(self) -> str:
path = self.finder.find_one("*/libc.so.*", [Finder.is_elf_shared_lib])
Expand All @@ -55,7 +51,6 @@ def get_glibc_versioned_path(self) -> Optional[Path]:

def configure(self, env: Environment, preserve_files: [pathlib.Path]):
try:
env.set("APPDIR_LIBC_LINKER_PATH", list(self.interpreters))
env.set("APPDIR_LIBC_LIBRARY_PATH", self._get_libc_library_paths())
env.set("APPDIR_LIBC_VERSION", self._guess_libc_version())
except InterpreterHandlerError as err:
Expand Down

0 comments on commit 17079f8

Please sign in to comment.