build: fix meson build on FreeBSD.
Summary: -Dsystemd=false and -Ddevice-udev=false with this. Reviewers: raster, zmike! Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5648 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
2988791f95
commit
4f5598c62d
|
@ -213,7 +213,7 @@ if get_option('systemd') == true
|
|||
endif
|
||||
endif
|
||||
|
||||
if cc.has_function('eeze_disk_function', dependencies: dependency('eeze')) == true
|
||||
if host_os.startswith('linux') and cc.has_function('eeze_disk_function', dependencies: dependency('eeze')) == true
|
||||
config_h.set('HAVE_EEZE_MOUNT', '1')
|
||||
eeze_mount = true
|
||||
endif
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
deps = [
|
||||
dep_eina,
|
||||
dep_ecore,
|
||||
dep_eet,
|
||||
dep_ecore_con,
|
||||
dep_ecore_file,
|
||||
dep_ecore_ipc,
|
||||
|
|
|
@ -556,10 +556,11 @@ suid_exes += join_paths(dir_e_utils, 'enlightenment_sys')
|
|||
if freebsd == true
|
||||
executable('enlightenment_ckpasswd',
|
||||
'e_ckpasswd_main.c',
|
||||
c_args : suid_cflags,
|
||||
link_args : suid_ldflags,
|
||||
install_dir: dir_e_utils,
|
||||
install : true
|
||||
dependencies : [ dep_crypt ],
|
||||
c_args : suid_cflags,
|
||||
link_args : suid_ldflags,
|
||||
install_dir : dir_e_utils,
|
||||
install : true
|
||||
)
|
||||
suid_exes += join_paths(dir_e_utils, 'enlightenment_ckpasswd')
|
||||
endif
|
||||
|
|
|
@ -2,6 +2,11 @@ src = files(
|
|||
'e_mod_main.c',
|
||||
'e_mod_config.c',
|
||||
'e_mod_tempget.c',
|
||||
'e_mod_udev.c',
|
||||
'e_mod_main.h'
|
||||
)
|
||||
|
||||
if get_option('device-udev') == true
|
||||
src += files(
|
||||
'e_mod_udev.c'
|
||||
)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue