Open david-cortes opened 2 years ago
From Prof. Ripley: "At least two issues need to be addressed:
See 'Writing R Extensions' §5.8 for fairly portable solutions."
In 'Writing R Extensions' it mentions that shared objects in mac should end in .dylib and that .so objects are not linkeable there.
It also mentions that rpath
is specific to the GNU linker - should packages that link to float
perhaps also have a requirement for GNU linker specified? Not sure if adding a variable LD
in Makevars + SystemRequires in DESCRIPTION would do though.
@snoweye Thanks for the reply. I see nevertheless that the code in that PR is no longer used in the current master branch.Does that mean it is now enough to just use float:::ldflags(static=TRUE)
for macOS?
I'm having issues with the CRAN checks on apple M1 for a package that links to
float
: https://www.stats.ox.ac.uk/pub/bdr/M1mac/recometrics.log https://www.stats.ox.ac.uk/pub/bdr/M1mac/recometrics.outSeems the linking is not working:
Works fine in other platforms though.