docs: Minor update to Clear build docs.

This commit is contained in:
Bradley Sepos 2020-06-16 20:31:13 -04:00
parent 03bc9a7004
commit 4012fac23b
No known key found for this signature in database
GPG Key ID: DEADE2F57D42D9C7
2 changed files with 4 additions and 4 deletions

View File

@ -78,10 +78,10 @@ Build and install the dependencies not available in the base repository.
cd ..
# make shared libraries findable
export CFLAGS="${CFLAGS:-} -I/usr/local/include"
echo 'export CFLAGS="${CFLAGS:-} -I/usr/local/include"' >> "${HOME}/.bashrc"
if ! grep '\/usr\/local\/lib' /etc/ld.so.conf >/dev/null 2>&1; then
export CFLAGS="${CFLAGS:-} -I/usr/local/include"
export LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"
echo 'export CFLAGS="${CFLAGS:-} -I/usr/local/include"' >> "${HOME}/.bashrc"
echo 'export LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"' >> "${HOME}/.bashrc"
echo '/usr/local/lib' | sudo tee --append /etc/ld.so.conf
sudo ldconfig

View File

@ -79,10 +79,10 @@ Build and install the dependencies not available in the base repository.
cd ..
# make shared libraries findable
export CFLAGS="${CFLAGS:-} -I/usr/local/include"
echo 'export CFLAGS="${CFLAGS:-} -I/usr/local/include"' >> "${HOME}/.bashrc"
if ! grep '\/usr\/local\/lib' /etc/ld.so.conf >/dev/null 2>&1; then
export CFLAGS="${CFLAGS:-} -I/usr/local/include"
export LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"
echo 'export CFLAGS="${CFLAGS:-} -I/usr/local/include"' >> "${HOME}/.bashrc"
echo 'export LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"' >> "${HOME}/.bashrc"
echo '/usr/local/lib' | sudo tee --append /etc/ld.so.conf
sudo ldconfig