mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Statically link luasession against libreadline
This avoids potential conflicts with system-wide libreadline, since Ardour binaries no longer need to bundle libreadline.so. Mainly a workaround for yabridge/wine on recent systems.
This commit is contained in:
parent
4f434154a0
commit
8c617d6a58
1 changed files with 11 additions and 1 deletions
|
|
@ -8,6 +8,16 @@ def options(opt):
|
|||
|
||||
def configure(conf):
|
||||
conf.check_cc(
|
||||
msg = 'Checking for static libreadline',
|
||||
header_name='stdio.h readline/readline.h',
|
||||
lib= [':libreadline.a', 'termcap'],
|
||||
uselib_store='READLINE',
|
||||
define_name='HAVE_READLINE',
|
||||
mandatory=False)
|
||||
|
||||
if not conf.is_defined('HAVE_READLINE'):
|
||||
conf.check_cc(
|
||||
msg = 'Checking for libreadline',
|
||||
header_name='stdio.h readline/readline.h',
|
||||
lib='readline',
|
||||
uselib_store='READLINE',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue