Skip to content

Commit

Permalink
meson: luajit: Remove unused readline dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1t3cht authored and CoffeeFlux committed Nov 24, 2023
1 parent 7f8815a commit 25b0a7a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions subprojects/packagefiles/luajit/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,21 @@ add_project_arguments('-DLUAJIT_ENABLE_LUA52COMPAT', '-DENDIAN_LE', language: 'c
if host_machine.system() == 'linux'
add_project_arguments('-DLUAJIT_OS=LUAJIT_OS_LINUX', language: 'c', native: true)
add_project_arguments('-DLUAJIT_UNWIND_EXTERNAL', language: 'c', native: false)
readline_dep = cc.find_library('readline')
ljvm_mode = 'elfasm'
ljvm_bout = 'lj_vm.s'
elif host_machine.system() == 'darwin'
add_project_arguments('-DLUAJIT_OS=LUAJIT_OS_OSX', language: 'c', native: true)
add_project_arguments('-DLUAJIT_UNWIND_EXTERNAL', language: 'c', native: false)
readline_dep = cc.find_library('readline')
ljvm_mode = 'machasm'
ljvm_bout = 'lj_vm.s'
elif host_machine.system() == 'windows'
add_project_arguments('-DLUAJIT_OS=LUAJIT_OS_WINDOWS', language: 'c', native: true)
if cc.get_id() != 'msvc'
add_project_arguments('-malign-double', language: 'c', native: true)
endif
readline_dep = []
ljvm_mode = 'peobj'
ljvm_bout = 'lj_vm.o'
else
readline_dep = []
error('Unsupported platform')
endif

Expand Down

0 comments on commit 25b0a7a

Please sign in to comment.