powered by
Output the linker flags required to build against rTRNG.
LdFlags()
Returns NULL invisibly. The function is not called for its return value rather for the side effect of outputting the flags.
LdFlags is typically called from Makevars as
LdFlags
PKG_LIBS += $(shell ${R_HOME}/bin/Rscript -e "rTRNG::LdFlags()")
and from Makevars.win as
PKG_LIBS += $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "rTRNG::LdFlags()")