mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-12 16:50:57 +00:00
7572f315ea
* meson.build: fix meson build when not on git * meson.build: make capstone a dependency * meson.build: make r_magic library optional * meson.build: capstone include is already in the dependency * meson.build: use dependencies instead of manual linking + includes * meson.build: add travis * flag/meson.build: include sdb dependency * travis-script: print messages based on install system * io/meson.build: add sdb as dependency * syscall/meson.build: missing sdb dependency * {parse,config}/meson.build: add sdb dependency * travis.yml: pass INSTALL_SYSTEM var to docker * {bin/shlr}/meson.build: add sdb_dep to r2java and bin * install meson and ninja-build in r2-travis docker * travis.yml: allow meson build to fail for now * anal/meson.build: add sdb and java dependencies * egg/meson.build: add sdb dependency * travis.yml: meson build env should be also in the includes list * core/meson.build: add java dep * meson.build: use dependencies also to create main r2 dependency * rasm2/meson.build: replace link_with with dependencies * rasm2/meson.build: add sdb as dependency * meson.builds: convert link_with to dependencies and fix tabs * travis-script: change meson install prefix and set PKG_CONFIG_PATH * travis-script: add lib64 to LD_LIBRARY_PATH
35 lines
708 B
Meson
35 lines
708 B
Meson
files = [
|
|
'http.c',
|
|
'http_server.c',
|
|
'proc.c',
|
|
'r2pipe.c',
|
|
'rap_server.c',
|
|
'run.c',
|
|
'socket.c',
|
|
'serial.c',
|
|
]
|
|
|
|
r_socket = library('r_socket', files,
|
|
include_directories: [platform_inc],
|
|
dependencies: [utl, r_util_dep, platform_deps],
|
|
c_args: ['-DCORELIB=1'],
|
|
install: true,
|
|
implicit_include_directories: false,
|
|
soversion: r2_libversion
|
|
)
|
|
|
|
r_socket_dep = declare_dependency(link_with: r_socket,
|
|
include_directories: [platform_inc])
|
|
|
|
pkgconfig_mod.generate(
|
|
libraries: [r_socket],
|
|
subdirs: 'libr',
|
|
version: r2_version,
|
|
name: 'r_socket',
|
|
filebase: 'r_socket',
|
|
requires: [
|
|
'r_util'
|
|
],
|
|
description: 'radare foundation libraries'
|
|
)
|