nixpkgs/pkgs/development/r-modules/patches/BayesLogit_cblas.patch
2014-12-03 16:28:28 +01:00

12 lines
666 B
Diff

diff -ru -x '*~' BayesLogit_orig/src/Makevars BayesLogit/src/Makevars
--- BayesLogit_orig/src/Makevars 2014-04-24 23:31:13.000000000 +0900
+++ BayesLogit/src/Makevars 2014-10-21 21:00:15.570699136 +0900
@@ -6,7 +6,7 @@
## W/OUT Dynamic Stuff
OBJECTS = Matrix.o MatrixFrame.o RRNG.o RNG.o FSF_nmix.o LogitWrapper.o \
PolyaGamma.o PolyaGammaAlt.o PolyaGammaSP.o InvertY.o
-PKG_LIBS = $(BLAS_LIBS) $(FLIBS) $(LAPACK_LIBS)
+PKG_LIBS = $(BLAS_LIBS) $(FLIBS) $(LAPACK_LIBS) -llapack -lf77blas -lcblas -latlas -lgfortran
# PKG_CPPFLAGS = -DUSE_R -DNDEBUG -DDISABLE_SINGLE -DNTHROW -Wall -pedantic -Wextra
PKG_CPPFLAGS = -DUSE_R -DNDEBUG -DDISABLE_SINGLE -DNTHROW