I'm almost certain this is a dupe, but I don't have even the base vocabulary to begin researching this question.
I have a few g++
linker flags that I'd like to make permanent as export
variables in /etc/bash.bashrc
.
Is it possible to do this for -D_WEBSOCKETPP_CPP11_STL_ -D_WEBSOCKETPP_NO_CPP11_REGEX_ -lboost_regex -lboost_system
as in this answer for websocket++ https://stackoverflow.com/a/15469310/1382306 and -lmysqlcppconn
for mysql connector c++ https://stackoverflow.com/a/11879650/1382306?
If so, please show me how. If not, please show me how to get started.