mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-18 02:38:37 +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
25 lines
528 B
Bash
25 lines
528 B
Bash
#!/bin/bash
|
|
|
|
print_var()
|
|
{
|
|
VAR_NAME=$1
|
|
VAR_VALUE=$2
|
|
if [ "${VAR_VALUE}" != "" ] ; then
|
|
printf "export %s=%q\n" "${VAR_NAME}" "${VAR_VALUE}"
|
|
fi
|
|
}
|
|
|
|
env -0 | while IFS='=' read -r -d '' n v; do
|
|
if [[ "${n}" =~ ^TRAVIS_* || "${n}" =~ ^R2* || "${n}" =~ SAN_* ]]; then
|
|
print_var "${n}" "${v}"
|
|
fi
|
|
done
|
|
|
|
# print extra variables
|
|
print_var CC "${CC}"
|
|
print_var CXX "${CXX}"
|
|
print_var CFLAGS "${CFLAGS}"
|
|
print_var LDFLAGS "${LDFLAGS}"
|
|
print_var CXXFLAGS "${CXXFLAGS}"
|
|
print_var INSTALL_SYSTEM "${INSTALL_SYSTEM}"
|