mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 21:29:49 +00:00
c8ae21f68f
* Lowers the amount of objects from 2400 to 1500
47 lines
1.0 KiB
Meson
47 lines
1.0 KiB
Meson
r_config_sources = [
|
|
'callback.c',
|
|
'config.c',
|
|
'hold.c',
|
|
]
|
|
|
|
r_config = library('r_config', r_config_sources,
|
|
include_directories: [platform_inc],
|
|
dependencies: [
|
|
r_util_dep
|
|
],
|
|
install: true,
|
|
implicit_include_directories: false,
|
|
install_rpath: rpath_lib,
|
|
soversion: r2_libversion
|
|
)
|
|
|
|
r_config_dep = declare_dependency(link_with: r_config,
|
|
include_directories: [platform_inc])
|
|
|
|
if get_option('blob')
|
|
r_config_static = static_library('r_config_static', r_config_sources,
|
|
include_directories: [platform_inc],
|
|
dependencies: [
|
|
r_util_static_dep
|
|
],
|
|
install: true,
|
|
implicit_include_directories: false,
|
|
install_rpath: rpath_lib,
|
|
)
|
|
|
|
r_config_static_dep = declare_dependency(link_with: r_config_static,
|
|
include_directories: [platform_inc])
|
|
endif
|
|
|
|
pkgconfig_mod.generate(r_config,
|
|
subdirs: 'libr',
|
|
version: r2_version,
|
|
name: 'r_config',
|
|
filebase: 'r_config',
|
|
libraries: pkgcfg_sanitize_libs,
|
|
requires: [
|
|
'r_util'
|
|
],
|
|
description: 'radare foundation libraries'
|
|
)
|