# This breaks VCS, since --as-needed requires that you order dynamic libraries
# in a particular way (namely, in the reverse order of the dependency graph)
# To fix this, we need to add --no-as-needed to the list of linker options
# when building with VCS
# See http://stackoverflow.com/questions/42113237/undefined-reference-when-linking-dynamic-library-in-ubuntu-system
VCS_FLAGS="-LDFLAGS -Wl,--no-as-needed"

### Add local overrides for libraries that vcs/dc/icc need
LD_PATH="$HOME/.local/lib/"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${LD_PATH}"

### Helper alias
alias vcs="vcs -full64 ${VCS_FLAGS}"