Fix strict linking on MacOS#207
Fix strict linking on MacOS#207kevinushey merged 2 commits intoRcppCore:masterfrom jeroen:macos-strict
Conversation
|
LGTM, but I'd like to confirm a couple things before merge. With this approach, I see: Could those Also, to confirm -- do those paths look the same / correct when cross-compiling? |
|
Update: actually it does work. I now added a I don't think there is any benefit right now because we are manually loading |
This could allow the package to be loaded even without the manual library.dynam() in R.
|
Awesome, thanks for taking the deeper look. LGTM! |
|
(maybe this is asking for a different feature, On A test package is at https://github.com/mtmorgan/CppTest. It has the DESCRIPTION and src/Makevars file from https://rcppcore.github.io/RcppParallel/#r_packages; there is no ( If I add This seems to be consistent with @kevinushey's concern that |
I think this is right -- |
Fixes #206.
This basically does the same as you already did on Windows here:
RcppParallel/src/Makevars.in
Lines 87 to 89 in 6f81716
And likewise in
tbbLdFlags().In my own fork I added CI for Mac, so you can see that it failed on MacOS before this fix, and then passed afterwards: https://github.com/jeroen/RcppParallel/commits/master/