forked from enlightenment/edi
Fixing up linux again - need a better solution for OSX as meson bails
This commit is contained in:
parent
317f5ed646
commit
3421d668f0
|
@ -30,7 +30,7 @@ cc = meson.get_compiler('c')
|
||||||
|
|
||||||
config_h.set_quoted('EFL_CFLAGS', run_command(find_program('pkg-config'), '--libs', '--cflags', 'elementary').stdout().strip())
|
config_h.set_quoted('EFL_CFLAGS', run_command(find_program('pkg-config'), '--libs', '--cflags', 'elementary').stdout().strip())
|
||||||
|
|
||||||
intl = cc.find_library('intl')
|
intl = cc.find_library('intl', required : false)
|
||||||
|
|
||||||
bear = find_program('bear', required : false)
|
bear = find_program('bear', required : false)
|
||||||
if get_option('bear') == true and bear.found()
|
if get_option('bear') == true and bear.found()
|
||||||
|
|
|
@ -26,16 +26,13 @@ foreach package : packages
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
deps = [elm, edi_lib, intl]
|
deps = [elm, edi_lib, intl]
|
||||||
libs = []
|
|
||||||
|
|
||||||
if get_option('libclang') == true
|
if get_option('libclang') == true
|
||||||
deps += [clang]
|
deps += [clang]
|
||||||
libs += include_directories('/usr/local/opt/llvm/include')
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
executable('edi', src,
|
executable('edi', src,
|
||||||
dependencies : deps,
|
dependencies : deps,
|
||||||
include_directories : libs,
|
|
||||||
install : true
|
install : true
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue