Hash :
ecdd40a8
Author :
Thomas de Grivel
Date :
2023-09-15T13:17:17
# rbpkg
: ${RBPKG_DIR:=~/rbpkg}
export RBPKG_DIR
# runtime
export PATH="${RBPKG_DIR}/bin:$PATH"
export LD_LIBRARY_PATH="${RBPKG_DIR}/lib:${LD_LIBRARY_PATH}"
# compile time
export CPPFLAGS="${CPPFLAGS} -I${RBPKG_DIR}/include"
export LDFLAGS="${LDFLAGS} -L${RBPKG_DIR}/lib"
export PKG_CONFIG_PATH="${RBPKG_DIR}/lib/pkgconfig"
if [ -f "${RBPKG_DIR}/etc/profile.local" ]; then
. "${RBPKG_DIR}/etc/profile.local"
fi