Skip to content

Commit

Permalink
Extend the Blazemark 'configure' script for the Armadillo library path
Browse files Browse the repository at this point in the history
  • Loading branch information
igl42 committed Mar 8, 2015
1 parent 25f2da6 commit a1c7b2e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions blazemark/configure
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,13 @@ if [ "$BLITZ" = "yes" ]; then
LIBRARIES="${LIBRARIES%" "} -lblitz"
fi

if [ -n "$ARMADILLO_LIBRARY_PATH" ]; then
if [[ ! "$LIBRARIES" =~ "$ARMADILLO_LIBRARY_PATH " ]]; then
LIBRARIES="${LIBRARIES%" "} -L$ARMADILLO_LIBRARY_PATH "
fi
LIBRARIES="${LIBRARIES%" "} -larmadillo "
fi

LIBRARIES=${LIBRARIES%" "}

# Configuration of the modules
Expand Down

0 comments on commit a1c7b2e

Please sign in to comment.