davemds pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/edgar.git/commit/?id=1f69754970cd4efbee10953e301b3858e34541dd

commit 1f69754970cd4efbee10953e301b3858e34541dd
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Fri May 1 20:19:43 2020 +0200

    Explicit link to dl lib
    
    Updated meson to 0.54.1 and was not compiling anymore without this
---
 meson.build       | 5 +++++
 src/e_mod_edgar.c | 2 ++
 src/meson.build   | 2 +-
 3 files changed, 8 insertions(+), 1 deletion(-)

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')
 e_module_arch = dep_e.get_pkgconfig_variable('module_arch')
 
 
+#### Dlopen ####
+cc = meson.get_compiler('c')
+dep_dl = cc.find_library('dl', required: false)
+
+
 #### Python3 ####
 py3 = import('python').find_installation('python3', modules: ['efl', 'dbus'])
 dep_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 @@
 
 
 #include <Python.h>
+#include <dlfcn.h>
+
 #include <e.h>
 #include <Efl_Ui.h>
 
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(
    'e_mod_main.c',
    'e_mod_edgar.c',
 
-   dependencies : [dep_e, dep_py3],
+   dependencies : [dep_e, dep_py3, dep_dl],
    install_dir: lib_install_dir,
    include_directories: config_dir,
    install: true,

-- 


Reply via email to