diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2022-12-28 15:20:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-28 15:20:53 -0800 |
commit | e28738a01e3ae15ade768514c15a433538d69f2a (patch) | |
tree | 60ab421ce384693d2b1fc3db36cbab08da0d4076 /.github/CODE_OF_CONDUCT.md | |
parent | 5f8c706128387b1258bd65010e4e06ef662283d9 (diff) | |
download | spack-e28738a01e3ae15ade768514c15a433538d69f2a.tar.gz spack-e28738a01e3ae15ade768514c15a433538d69f2a.tar.bz2 spack-e28738a01e3ae15ade768514c15a433538d69f2a.tar.xz spack-e28738a01e3ae15ade768514c15a433538d69f2a.zip |
bugfix: make texinfo build properly with gettext (#34312)
`texinfo` depends on `gettext`, and it builds a perl module that uses gettext via XS
module FFI. Unfortunately, the XS modules build asks perl to tell it what compiler to
use instead of respecting the one passed to configure.
Without this change, the build fails with this error:
```
parsetexi/api.c:33:10: fatal error: 'libintl.h' file not found
^~~~~~~~~~~
```
We need the gettext dependency and the spack wrappers to ensure XS builds properly.
- [x] Add needed `gettext` dependency to `texinfo`
- [x] Override XS compiler with `PERL_EXT_CC`
Co-authored-by: Paul Kuberry <pakuber@sandia.gov>
Diffstat (limited to '.github/CODE_OF_CONDUCT.md')
0 files changed, 0 insertions, 0 deletions