LdFlags: Get portable linker flags for libraries building on...

View source: R/LdFlags.R

LdFlagsR Documentation

Get portable linker flags for libraries building on RcppThread

Description

To be used in Makevars on Linux and OSX. Returns a string with linker flags for pthread and libatomic, if available.

Usage

LdFlags()

Details

Use as ‘PKG_LIBS = $(R_HOME)/bin/Rscript -e ’RcppThread::LdFlags()'.


RcppThread documentation built on Oct. 19, 2023, 1:10 a.m.