summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2020-05-01 20:19:43 +0200
committerDave Andreoli <dave@gurumeditation.it>2020-05-01 20:19:43 +0200
commit1f69754970cd4efbee10953e301b3858e34541dd (patch)
treed93c2e2ebe04a43c10f8c28e772346132c34855f
parent1b4d07fa9067d16a1ced27c7fc60e6b8abeb8757 (diff)
Explicit link to dl lib
Updated meson to 0.54.1 and was not compiling anymore without this
-rw-r--r--meson.build5
-rw-r--r--src/e_mod_edgar.c2
-rw-r--r--src/meson.build2
3 files changed, 8 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 36321a1..a836512 100644
--- a/meson.build
+++ b/meson.build
@@ -17,6 +17,11 @@ e_release = dep_e.get_pkgconfig_variable('release')
17e_module_arch = dep_e.get_pkgconfig_variable('module_arch') 17e_module_arch = dep_e.get_pkgconfig_variable('module_arch')
18 18
19 19
20#### Dlopen ####
21cc = meson.get_compiler('c')
22dep_dl = cc.find_library('dl', required: false)
23
24
20#### Python3 #### 25#### Python3 ####
21py3 = import('python').find_installation('python3', modules: ['efl', 'dbus']) 26py3 = import('python').find_installation('python3', modules: ['efl', 'dbus'])
22dep_py3 = py3.dependency(embed: true) 27dep_py3 = py3.dependency(embed: true)
diff --git a/src/e_mod_edgar.c b/src/e_mod_edgar.c
index b0f4fc7..6e91266 100644
--- a/src/e_mod_edgar.c
+++ b/src/e_mod_edgar.c
@@ -17,6 +17,8 @@
17 17
18 18
19#include <Python.h> 19#include <Python.h>
20#include <dlfcn.h>
21
20#include <e.h> 22#include <e.h>
21#include <Efl_Ui.h> 23#include <Efl_Ui.h>
22 24
diff --git a/src/meson.build b/src/meson.build
index 1ba6e51..b8e73a7 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -4,7 +4,7 @@ module = shared_module(
4 'e_mod_main.c', 4 'e_mod_main.c',
5 'e_mod_edgar.c', 5 'e_mod_edgar.c',
6 6
7 dependencies : [dep_e, dep_py3], 7 dependencies : [dep_e, dep_py3, dep_dl],
8 install_dir: lib_install_dir, 8 install_dir: lib_install_dir,
9 include_directories: config_dir, 9 include_directories: config_dir,
10 install: true, 10 install: true,