Explicit link to dl lib
Updated meson to 0.54.1 and was not compiling anymore without this
This commit is contained in:
parent
1b4d07fa90
commit
1f69754970
|
@ -17,6 +17,11 @@ e_release = dep_e.get_pkgconfig_variable('release')
|
||||||
e_module_arch = dep_e.get_pkgconfig_variable('module_arch')
|
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 ####
|
#### Python3 ####
|
||||||
py3 = import('python').find_installation('python3', modules: ['efl', 'dbus'])
|
py3 = import('python').find_installation('python3', modules: ['efl', 'dbus'])
|
||||||
dep_py3 = py3.dependency(embed: true)
|
dep_py3 = py3.dependency(embed: true)
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
|
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
|
#include <dlfcn.h>
|
||||||
|
|
||||||
#include <e.h>
|
#include <e.h>
|
||||||
#include <Efl_Ui.h>
|
#include <Efl_Ui.h>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ module = shared_module(
|
||||||
'e_mod_main.c',
|
'e_mod_main.c',
|
||||||
'e_mod_edgar.c',
|
'e_mod_edgar.c',
|
||||||
|
|
||||||
dependencies : [dep_e, dep_py3],
|
dependencies : [dep_e, dep_py3, dep_dl],
|
||||||
install_dir: lib_install_dir,
|
install_dir: lib_install_dir,
|
||||||
include_directories: config_dir,
|
include_directories: config_dir,
|
||||||
install: true,
|
install: true,
|
||||||
|
|
Loading…
Reference in New Issue