Skip to content

Commit

Permalink
TEMP: figuring out libintl crap
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Nov 18, 2022
1 parent 672ddf0 commit 80a6d9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -122,6 +122,10 @@ jobs:
run: |
brew install boost libomp hdf5
brew unlink gettext
echo "=== find libintl ==="
find /Users/runner -name libintl.dylib
echo "=== python config_vars ==="
python3 -c 'import sysconfig; import pprint; pprint.pprint(sysconfig.get_config_vars())'
- name: Upgrade pip
run: python3 -m pip install -U pip 'setuptools>=47.0.0,<48' wheel
- name: Install Python dependencies
Expand Down
3 changes: 3 additions & 0 deletions site_scons/buildutils.py
Expand Up @@ -1321,6 +1321,9 @@ def setup_python_env(env):

if env['OS'] == 'Darwin':
env.Append(LINKFLAGS='-undefined dynamic_lookup')
# Workaround for incorrect config info in some places (including GitHub Actions)
if 'intl' in env['py_libs']:
env['py_libs'].remove('intl')
elif env['OS'] == 'Windows':
env.Append(LIBPATH=prefix + '/libs')
if env['toolchain'] == 'mingw':
Expand Down

0 comments on commit 80a6d9c

Please sign in to comment.