Skip to content

Commit

Permalink
Add Lapack flags to Makevars
Browse files Browse the repository at this point in the history
Apparently Windows doesn't find them automatically
  • Loading branch information
oelhammouchi committed May 7, 2024
1 parent 43040ca commit ad36938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makevars
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CXX_STD = CXX17
PKG_CPPFLAGS = -I../inst/include/
PKG_FFLAGS = $(SHLIB_OPENMP_FFLAGS)
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS)
PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) `"$(R_HOME)/bin$(R_ARCH_BIN)/Rscript" -e 'rTRNG::LdFlags()'`
PKG_LIBS = $(LAPACK_LIBS) $(SHLIB_OPENMP_CXXFLAGS) `"$(R_HOME)/bin$(R_ARCH_BIN)/Rscript" -e 'rTRNG::LdFlags()'`

all: $(SHLIB)

Expand Down

0 comments on commit ad36938

Please sign in to comment.