From 1ba7979ff49f3b6e40aab7ef4494f89d9e78747b Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Mon, 6 Nov 2023 22:44:03 +0100 Subject: [PATCH] meson: luajit: Remove unused readline dependency --- subprojects/packagefiles/luajit/meson.build | 4 ---- 1 file changed, 4 deletions(-) diff --git a/subprojects/packagefiles/luajit/meson.build b/subprojects/packagefiles/luajit/meson.build index 526d1c675..174199f89 100644 --- a/subprojects/packagefiles/luajit/meson.build +++ b/subprojects/packagefiles/luajit/meson.build @@ -13,13 +13,11 @@ 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' @@ -27,11 +25,9 @@ elif host_machine.system() == 'windows' 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