mirror of https://github.com/nirenjan/libx52.git
fix linking with -lm
parent
22ee7ed19f
commit
e810f43512
|
|
@ -32,7 +32,6 @@ x52d_sources = [
|
||||||
]
|
]
|
||||||
|
|
||||||
dep_threads = dependency('threads')
|
dep_threads = dependency('threads')
|
||||||
dep_math = dependency('m', required: false) # Sometimes not a separate library
|
|
||||||
|
|
||||||
# Comm sources are compiled into x52d (same as Autotools); libx52dcomm is only for x52ctl.
|
# Comm sources are compiled into x52d (same as Autotools); libx52dcomm is only for x52ctl.
|
||||||
x52d_linkwith = [lib_libx52, lib_vkm, lib_libx52io]
|
x52d_linkwith = [lib_libx52, lib_vkm, lib_libx52io]
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,9 @@ endif
|
||||||
|
|
||||||
add_project_arguments('-isystem', meson.current_source_dir() / 'sys', language: 'C')
|
add_project_arguments('-isystem', meson.current_source_dir() / 'sys', language: 'C')
|
||||||
|
|
||||||
|
# Sometimes libm is in standard library
|
||||||
|
dep_math = compiler.find_library('m', required: false)
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# Internal dependencies
|
# Internal dependencies
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue