diff options
author | Luke Dalessandro <ldalessa@iu.edu> | 2020-09-04 13:54:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 15:54:44 -0500 |
commit | 8e41208c65a4b0d873a4d6180ea397f12a2f1734 (patch) | |
tree | c075dbd3c1c3dd9344234f4c87556f715a650f2b | |
parent | f4d3a1a0cb9b38b0330891b1f2fe32f2e22147bf (diff) | |
download | spack-8e41208c65a4b0d873a4d6180ea397f12a2f1734.tar.gz spack-8e41208c65a4b0d873a4d6180ea397f12a2f1734.tar.bz2 spack-8e41208c65a4b0d873a4d6180ea397f12a2f1734.tar.xz spack-8e41208c65a4b0d873a4d6180ea397f12a2f1734.zip |
Build libtinfo.so "--with-versioned-syms" when it is enabled in ncurses. (#18511)
Many system-installed binaries (at least in Debian) are built against a
libtinfo.so that has versioned symbols. If spack builds a version without this
functionality, and it winds up in the user's LD_LIBRARY_PATH via spack load,
system binaries will begin to complain.
```
$ less log.txt
less: /opt/spack/.../libtinfo.so.6: no version information available (required by less)
```
Co-authored-by: Luke D'Alessandro <ldalessa@uw.edu>
-rw-r--r-- | var/spack/repos/builtin/packages/ncurses/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ncurses/package.py b/var/spack/repos/builtin/packages/ncurses/package.py index 55d1900c4c..abb05284f3 100644 --- a/var/spack/repos/builtin/packages/ncurses/package.py +++ b/var/spack/repos/builtin/packages/ncurses/package.py @@ -73,7 +73,8 @@ class Ncurses(AutotoolsPackage, GNUMirrorPackage): opts.extend(('--with-termlib', '--enable-termcap', '--enable-getcap', - '--enable-tcap-names')) + '--enable-tcap-names', + '--with-versioned-syms')) prefix = '--prefix={0}'.format(prefix) |