meson: luajit: Remove unused readline dependency
This commit is contained in:
parent
d728ce0e78
commit
1ba7979ff4
1 changed files with 0 additions and 4 deletions
|
@ -13,13 +13,11 @@ add_project_arguments('-DLUAJIT_ENABLE_LUA52COMPAT', '-DENDIAN_LE', language: 'c
|
||||||
if host_machine.system() == 'linux'
|
if host_machine.system() == 'linux'
|
||||||
add_project_arguments('-DLUAJIT_OS=LUAJIT_OS_LINUX', language: 'c', native: true)
|
add_project_arguments('-DLUAJIT_OS=LUAJIT_OS_LINUX', language: 'c', native: true)
|
||||||
add_project_arguments('-DLUAJIT_UNWIND_EXTERNAL', language: 'c', native: false)
|
add_project_arguments('-DLUAJIT_UNWIND_EXTERNAL', language: 'c', native: false)
|
||||||
readline_dep = cc.find_library('readline')
|
|
||||||
ljvm_mode = 'elfasm'
|
ljvm_mode = 'elfasm'
|
||||||
ljvm_bout = 'lj_vm.s'
|
ljvm_bout = 'lj_vm.s'
|
||||||
elif host_machine.system() == 'darwin'
|
elif host_machine.system() == 'darwin'
|
||||||
add_project_arguments('-DLUAJIT_OS=LUAJIT_OS_OSX', language: 'c', native: true)
|
add_project_arguments('-DLUAJIT_OS=LUAJIT_OS_OSX', language: 'c', native: true)
|
||||||
add_project_arguments('-DLUAJIT_UNWIND_EXTERNAL', language: 'c', native: false)
|
add_project_arguments('-DLUAJIT_UNWIND_EXTERNAL', language: 'c', native: false)
|
||||||
readline_dep = cc.find_library('readline')
|
|
||||||
ljvm_mode = 'machasm'
|
ljvm_mode = 'machasm'
|
||||||
ljvm_bout = 'lj_vm.s'
|
ljvm_bout = 'lj_vm.s'
|
||||||
elif host_machine.system() == 'windows'
|
elif host_machine.system() == 'windows'
|
||||||
|
@ -27,11 +25,9 @@ elif host_machine.system() == 'windows'
|
||||||
if cc.get_id() != 'msvc'
|
if cc.get_id() != 'msvc'
|
||||||
add_project_arguments('-malign-double', language: 'c', native: true)
|
add_project_arguments('-malign-double', language: 'c', native: true)
|
||||||
endif
|
endif
|
||||||
readline_dep = []
|
|
||||||
ljvm_mode = 'peobj'
|
ljvm_mode = 'peobj'
|
||||||
ljvm_bout = 'lj_vm.o'
|
ljvm_bout = 'lj_vm.o'
|
||||||
else
|
else
|
||||||
readline_dep = []
|
|
||||||
error('Unsupported platform')
|
error('Unsupported platform')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue