forked from enlightenment/enlightenment
meson: fix build
everything that includes e.h needs deps_e as dependencys, otherwise headers may not be found
This commit is contained in:
parent
c3f630d36c
commit
c1177a1c15
|
@ -82,13 +82,15 @@ foreach m: mods
|
||||||
no_icon = false
|
no_icon = false
|
||||||
cargs = ''
|
cargs = ''
|
||||||
data = []
|
data = []
|
||||||
deps = []
|
deps = deps_e
|
||||||
inc = []
|
inc = []
|
||||||
_dir = join_paths(dir_module_e, m)
|
_dir = join_paths(dir_module_e, m)
|
||||||
_dir_bin = join_paths(_dir, module_arch)
|
_dir_bin = join_paths(_dir, module_arch)
|
||||||
|
|
||||||
opt = '-'.join(m.split('_'))
|
opt = '-'.join(m.split('_'))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if get_option(opt) == true
|
if get_option(opt) == true
|
||||||
subdir(m)
|
subdir(m)
|
||||||
else
|
else
|
||||||
|
|
|
@ -18,7 +18,7 @@ if get_option(m) == true
|
||||||
dep_pulse = dependency('libpulse', required: false)
|
dep_pulse = dependency('libpulse', required: false)
|
||||||
dep_pulse_simple = dependency('libpulse-simple', required: false)
|
dep_pulse_simple = dependency('libpulse-simple', required: false)
|
||||||
|
|
||||||
deps = [ dep_alsa, dep_pulse, dep_pulse_simple ]
|
deps += [ dep_alsa, dep_pulse, dep_pulse_simple ]
|
||||||
inc = [ 'lib' ]
|
inc = [ 'lib' ]
|
||||||
|
|
||||||
config_h.set('HAVE_ALSA' , dep_alsa.found())
|
config_h.set('HAVE_ALSA' , dep_alsa.found())
|
||||||
|
|
Loading…
Reference in New Issue