Use Lua libraries meant for C++

This commit is contained in:
Tamás Bálint Misius 2021-01-03 01:24:42 +01:00
parent 8e21dc2646
commit 12e0fda02f
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2
5 changed files with 10 additions and 10 deletions

View File

@ -88,9 +88,9 @@ uopt_lua = get_option('lua')
if uopt_lua == 'luajit'
lua_opt_dep = [ use_tpt_libs ? tpt_libs.get_variable('luajit_dep') : dependency('luajit', static: uopt_static == 'system') ]
elif uopt_lua == 'lua5.2'
lua_opt_dep = [ use_tpt_libs ? tpt_libs.get_variable('lua52_dep') : dependency('lua5.2', static: uopt_static == 'system') ]
lua_opt_dep = [ use_tpt_libs ? tpt_libs.get_variable('lua52_dep') : dependency('lua5.2-c++', static: uopt_static == 'system') ]
elif uopt_lua == 'lua5.1'
lua_opt_dep = [ use_tpt_libs ? tpt_libs.get_variable('lua51_dep') : dependency('lua5.1', static: uopt_static == 'system') ]
lua_opt_dep = [ use_tpt_libs ? tpt_libs.get_variable('lua51_dep') : dependency('lua5.1-c++', static: uopt_static == 'system') ]
else
lua_opt_dep = []
endif

View File

@ -1,6 +1,6 @@
[wrap-file]
directory = tpt-libs-prebuilt-lin64-static
source_url = https://github.com/The-Powder-Toy/tpt-libs/releases/download/v20201112223015/tpt-libs-prebuilt-lin64-static.zip
source_url = https://github.com/LBPHacker/tpt-libs/releases/download/v20210103011010/tpt-libs-prebuilt-lin64-static.zip
source_filename = tpt-libs-prebuilt-lin64-static.zip
source_hash = 6371e42dc5fc9c17ec822ca36501865db427b6f8362f96202bf6b1f1f04ee858
source_hash = 042c9687cc418c1425c2c95c9d48bb76972f3df9b06d131409c1d3c67c22c53a

View File

@ -1,6 +1,6 @@
[wrap-file]
directory = tpt-libs-prebuilt-mac64-static
source_url = https://github.com/The-Powder-Toy/tpt-libs/releases/download/v20201112223015/tpt-libs-prebuilt-mac64-static.zip
source_url = https://github.com/LBPHacker/tpt-libs/releases/download/v20210103011010/tpt-libs-prebuilt-mac64-static.zip
source_filename = tpt-libs-prebuilt-mac64-static.zip
source_hash = 8378755f2e749ffd6d15dee2f3a4fdab921ab9e0a747381b3d20ee08e306255c
source_hash = 3e848020919ed5993fcef0f579d1401227659a31a621324e0830d7bebb4b9b10

View File

@ -1,6 +1,6 @@
[wrap-file]
directory = tpt-libs-prebuilt-win64-dynamic
source_url = https://github.com/The-Powder-Toy/tpt-libs/releases/download/v20201112223015/tpt-libs-prebuilt-win64-dynamic.zip
source_url = https://github.com/LBPHacker/tpt-libs/releases/download/v20210103011010/tpt-libs-prebuilt-win64-dynamic.zip
source_filename = tpt-libs-prebuilt-win64-dynamic.zip
source_hash = 967179cef84b7c6d8f70a01529628a93e4769993c681e15cfbe7b90880ae707f
source_hash = 5e1fbee5b39413ef9703ea0455e9f2c117a6f34c59c225945381a50fe10e5aef

View File

@ -1,6 +1,6 @@
[wrap-file]
directory = tpt-libs-prebuilt-win64-static
source_url = https://github.com/The-Powder-Toy/tpt-libs/releases/download/v20201112223015/tpt-libs-prebuilt-win64-static.zip
source_url = https://github.com/LBPHacker/tpt-libs/releases/download/v20210103011010/tpt-libs-prebuilt-win64-static.zip
source_filename = tpt-libs-prebuilt-win64-static.zip
source_hash = 7aa6242f11fa6beba70f16a95e9376bc4e380029b7eb07ca69865e7cf8871205
source_hash = 6348d2dcd99ceedb63fb7c27b4fd4d02f9837244981eaf60ed2d255e25d4dfe3