mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
Add sys/r2env.sh: Set up env for r2 in non-standard loc (#15696)
This commit is contained in:
parent
cdbcffe108
commit
ec8e8c97e7
6
sys/r2env.sh
Executable file
6
sys/r2env.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Sets up env for programs that use r2 libs, and r2 is installed in a
|
||||
# non-standard location.
|
||||
|
||||
export PKG_CONFIG_PATH="`r2 -H R2_LIBDIR`/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}"
|
||||
export LD_LIBRARY_PATH="`r2 -H R2_LIBDIR`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
|
Loading…
Reference in New Issue
Block a user