rhome=/usr/lib/R
rlibdir=${rhome}/lib
rincludedir=/usr/include/R/

Name: libR
Description: R as a library
Version: 3.6.2
Libs: -Wl,--export-dynamic -fopenmp  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L${rlibdir} -lR
Cflags: -I${rincludedir} -I${rincludedir}
Libs.private:
