Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Let deps see headers, libs in $SAGE_LOCAL
In particular if OpenSSL development headers are not installed
systemwide, users should be able to install the OpenSSL SPKG for Sage,
which puts such headers in $SAGE_LOCAL/include .
  • Loading branch information
kini committed Apr 16, 2012
1 parent 7854db4 commit 8e8b97a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spkg-dist
Expand Up @@ -145,6 +145,10 @@ if [ -z "$SAGE_LOCAL" ]; then
fi
cd src
[ -z "$CPATH" ] || CPATH="$CPATH":
[ -z "$LIBRARY_PATH" ] || LIBRARY_PATH="$LIBRARY_PATH":
export CPATH="$CPATH""$SAGE_LOCAL"/include
export LIBRARY_PATH="$LIBRARY_PATH""$SAGE_LOCAL"/lib
%(install_dependencies)s
Expand Down

0 comments on commit 8e8b97a

Please sign in to comment.