1 2 3 4 5 6 7 8 9 10 11 12 13
|
Author: Nilesh Patra <nilesh@debian.org>
Description: Hack to fix RHdf5lib flags
Forwarded: not-needed
--- a/src/Makevars
+++ b/src/Makevars
@@ -1,3 +1,3 @@
-RHDF5_LIBS=$(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript" -e 'Rhdf5lib::pkgconfig("PKG_CXX_LIBS")')
-PKG_CPPFLAGS=-I../inst/include
-PKG_LIBS=$(RHDF5_LIBS) -lz
+RHDF5_LIBS=/usr/lib/R/site-library/Rhdf5lib/libs/Rhdf5lib.so -L/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial -lhdf5 -lhdf5_cpp -lcrypto -lcurl -lpthread -lsz
+PKG_CPPFLAGS=-I../inst/include -I/usr/include/hdf5/serial/
+PKG_LIBS=-fPIC $(RHDF5_LIBS) -lz
|