mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 22:00:18 +00:00
9890c6e8b0
- env.sh now also uses DYLD_LIBRARY_PATH - Fixes in ollyasm/dis to link with no global variables - Remove double definition of global _state - Same for asm_java - Split -shared and -Wl,-R into LDFLAGS_{LIB|LINKPATH} - Fixes linkage in osx - anal_x86_bea plugin now links correctly against BeaEgine.o - dietline is now #include'd from line.c - no debugger support yet - Do not externalize any variable. Some linkage does not support it * Remove bininfo dependency .. aims to be merged into bin soon * Added r_str_case() method to change to lower/upper case a string
25 lines
443 B
Bash
25 lines
443 B
Bash
#!/bin/sh
|
|
|
|
new_env='
|
|
LIBR_PLUGINS=$PWD/prefix/lib/radare2
|
|
PATH=$PATH:$PWD/prefix/bin
|
|
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prefix/lib
|
|
DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prefix/lib
|
|
PKG_CONFIG_PATH=$PWD/libr/
|
|
'
|
|
|
|
echo
|
|
echo "==> Entering radare2 environment shell..."
|
|
echo
|
|
echo $new_env $SHELL \
|
|
| sed -e 's, ,\n,g' \
|
|
| sed -e 's,^, ,g' \
|
|
| sed -e 's,$, \\,'
|
|
echo
|
|
|
|
eval $new_env $SHELL
|
|
|
|
echo
|
|
echo "==> Back to system shell..."
|
|
echo
|