meson: make it subproject friendly
Using library() allows to build either static or shared library.
Declare a dependency, so parent projects can link with it easily:
slirp_proj = subproject('slirp') slirp = slirp_proj.get_variable('libslirp_dep')
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Using library() allows to build either static or shared library.
Declare a dependency, so parent projects can link with it easily:
slirp_proj = subproject('slirp') slirp = slirp_proj.get_variable('libslirp_dep')