summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/elua/meson.build1
-rw-r--r--src/lib/elua/meson.build13
2 files changed, 13 insertions, 1 deletions
diff --git a/src/bin/elua/meson.build b/src/bin/elua/meson.build
index 3a4908d754..a43eca2766 100644
--- a/src/bin/elua/meson.build
+++ b/src/bin/elua/meson.build
@@ -1,5 +1,6 @@
1executable('elua', 1executable('elua',
2 'main.c', 2 'main.c',
3 dependencies: [eina, ecore, elua, intl], 3 dependencies: [eina, ecore, elua, intl],
4 link_args : bin_linker_args,
4 install: true, 5 install: true,
5) 6)
diff --git a/src/lib/elua/meson.build b/src/lib/elua/meson.build
index 9f1d270bba..33cb3f9733 100644
--- a/src/lib/elua/meson.build
+++ b/src/lib/elua/meson.build
@@ -1,5 +1,16 @@
1elua_deps = [eina, eo, efl, ecore, ecore_file, intl] 1elua_deps = [eina, eo, efl, ecore, ecore_file, intl]
2elua_pub_deps = [dependency('luajit')] 2if sys_osx == true
3# luajit on macro is broken, this means we need to generate our own dependency with our arguments, a library later still needs to link to luajit for the pagesize argument thingy
4 luajit = dependency('luajit')
5 lua = declare_dependency(
6 include_directories: include_directories(luajit.get_pkgconfig_variable('includedir')),
7 link_args: ['-L'+luajit.get_pkgconfig_variable('libdir'), '-l'+luajit.get_pkgconfig_variable('libname')]
8 )
9 elua_pub_deps = [lua]
10else
11 elua_pub_deps = [dependency('luajit')]
12endif
13
3 14
4elua_src = ['elua.c', 'io.c', 'cache.c'] 15elua_src = ['elua.c', 'io.c', 'cache.c']
5elua_header_src = ['Elua.h'] 16elua_header_src = ['Elua.h']