build: Do not redefine dependency objects

Use the top-level ones.
This commit is contained in:
Emmanuele Bassi 2018-01-24 11:55:28 +00:00 committed by Wim Taymans
parent a52ba92378
commit f9ed917814
3 changed files with 8 additions and 9 deletions

View file

@ -12,11 +12,10 @@ sbc_dep = dependency('sbc', required : false)
libudev_dep = dependency('libudev')
threads_dep = dependency('threads')
cc = meson.get_compiler('c')
dl_lib = cc.find_library('dl', required : true)
pthread_lib = cc.find_library('pthread', required : true)
libm = cc.find_library('m', required : true)
#cc = meson.get_compiler('c')
#dl_lib = cc.find_library('dl', required : false)
#pthread_lib = dependencies('threads')
#mathlib = cc.find_library('m', required : false)
spa_inc = include_directories('include')
spa_libinc = include_directories('.')