mirror of https://github.com/frida/tinycc
meson: Add missing deps (#5)
Also noted by @QuLogic in GitHub comments prior.
This commit is contained in:
parent
71c2e2c3d5
commit
4c8e8bf419
|
@ -111,13 +111,18 @@ configure_file(
|
|||
configuration: cdata,
|
||||
)
|
||||
|
||||
threads_dep = dependency('threads')
|
||||
dl_dep = cc.find_library('dl', required: false)
|
||||
|
||||
tcc = library('tcc', sources,
|
||||
c_args: ['-DONE_SOURCE=0'],
|
||||
install: true,
|
||||
dependencies: [threads_dep, dl_dep],
|
||||
)
|
||||
tcc_dep = declare_dependency(
|
||||
link_with: tcc,
|
||||
include_directories: include_directories('.'),
|
||||
variables: {'libdir': get_option('libdir')},
|
||||
)
|
||||
|
||||
pkg = import('pkgconfig')
|
||||
|
|
Loading…
Reference in New Issue