radare2/libr/lang/meson.build
lzutao 9cc6d2d291 meson: Do not use glob with meson ##build
* meson: Explicit is better than implicit
* meson: Fix deprecated warnings in Meson 0.49.0
* meson: Do not need separate array for installed files

libr/socket/meson.build:30: DEPRECATION: Library r_socket was passed to
the "libraries" keyword argument of a previous call to generate() method
instead of first positional argument. Adding r_socket to "Requires" field,
but this is a deprecated behaviour that will change in a future version
of Meson. Please report the issue if this warning cannot be avoided in
your case.
2018-12-27 14:17:54 +01:00

36 lines
702 B
Meson

files = [
'lang.c',
# included in lang.c
#'p/c.c',
#'p/cpipe.c',
#'p/lib.c',
#'p/pipe.c',
#'p/rust.c',
#'p/vala.c'
#'p/zig.c',
]
r_lang = library('r_lang', files,
include_directories: [platform_inc],
c_args: library_cflags,
dependencies: [r_util_dep, r_cons_dep],
install: true,
implicit_include_directories: false,
soversion: r2_libversion
)
r_lang_dep = declare_dependency(link_with: r_lang,
include_directories: [platform_inc])
pkgconfig_mod.generate(r_lang,
subdirs: 'libr',
version: r2_version,
name: 'r_lang',
filebase: 'r_lang',
requires: [
'r_util',
'r_cons'
],
description: 'radare foundation libraries'
)