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>
This commit is contained in:
parent
f4d3a1a0cb
commit
8e41208c65
@ -73,7 +73,8 @@ def configure(self, spec, prefix):
|
||||
opts.extend(('--with-termlib',
|
||||
'--enable-termcap',
|
||||
'--enable-getcap',
|
||||
'--enable-tcap-names'))
|
||||
'--enable-tcap-names',
|
||||
'--with-versioned-syms'))
|
||||
|
||||
prefix = '--prefix={0}'.format(prefix)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user