[libpeas] build: fix build when using luajit



commit b1e2a89a4017782ca310df4646d45dd48679d63d
Author: Christian Hergert <chergert redhat com>
Date:   Tue Oct 29 11:19:03 2019 -0700

    build: fix build when using luajit

 loaders/lua5.1/meson.build | 1 +
 tests/libpeas/meson.build  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/loaders/lua5.1/meson.build b/loaders/lua5.1/meson.build
index cc44ec8..fc1f566 100644
--- a/loaders/lua5.1/meson.build
+++ b/loaders/lua5.1/meson.build
@@ -18,6 +18,7 @@ lua51_loader_deps = [
   libpeas_dep,
   lua51_dep,
   lua51_lgi_dep,
+  luajit_dep,
 ]
 
 lua51_loader_c_args = [
diff --git a/tests/libpeas/meson.build b/tests/libpeas/meson.build
index edbfa64..32cf5e9 100644
--- a/tests/libpeas/meson.build
+++ b/tests/libpeas/meson.build
@@ -9,7 +9,7 @@ libpeas_tests_sources = [
 libpeas_tests_c_args = ['-UG_DISABLE_ASSERT', '-UG_DISABLE_CAST_CHECKS']
 
 if build_lua51_loader == true
-  libpeas_tests_sources += [['extension-lua', [lua51_dep]]]
+  libpeas_tests_sources += [['extension-lua', [lua51_dep, luajit_dep]]]
 endif
 
 if build_python3_loader == true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]