Skip to content

Commit

Permalink
adding fallback dir to find libintl in our release
Browse files Browse the repository at this point in the history
 * #36
  • Loading branch information
maltfield committed Oct 24, 2022
1 parent cf7cde1 commit 1b012c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/packages/buskill/__init__.py
Expand Up @@ -379,6 +379,11 @@ def __init__(self):
os.pathsep+ self.EXE_DIR + \
os.pathsep+ self.APP_DIR

# also fallback on loading libraries from our self-contained app
# this may be needed by gpg for gettext's libintl
# * https://github.com/BusKill/buskill-app/issues/36
os.environ["DYLD_FALLBACK_LIBRARY_PATH"] = self.SRC_DIR

# also update sys.python, so `import` statements will look in there (eg:
# for upgraded_from.py)
sys.path.append( self.EXE_DIR )
Expand Down

0 comments on commit 1b012c6

Please sign in to comment.