Skip to content

Commit

Permalink
Only set LIBLAPACK if not provided by the ENV
Browse files Browse the repository at this point in the history
liblapack ist not always called liblapack in the system but different implementations have different names. Only set them to the default if the names were not declared yet (i.e. do the same as we do already with LIBBLASNAME).
  • Loading branch information
xhochy committed Apr 25, 2014
1 parent 6efc370 commit 8b1f775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ LIBLAPACK = $(LIBBLAS)
LIBLAPACKNAME = $(LIBBLASNAME)
else
ifeq ($(USE_SYSTEM_LAPACK), 1)
LIBLAPACK = -llapack
LIBLAPACKNAME = liblapack
LIBLAPACK ?= -llapack
LIBLAPACKNAME ?= liblapack
else
LIBLAPACK = -L$(build_shlibdir) -llapack $(LIBBLAS)
LIBLAPACKNAME = liblapack
Expand Down

0 comments on commit 8b1f775

Please sign in to comment.