[Rcpp-devel] Remove hard-coded path to /usr/bin in Makevars
simon.urbanek at r-project.org
Sun Apr 28 03:03:29 CEST 2013
On Apr 27, 2013, at 8:47 PM, Valentin Kuznetsov wrote:
> Hi Dirk,
> environment variable is not that bad and I'm ok with such solution.
I'd say something along the lines of
should be clear enough ...
> On Apr 27, 2013, at ,Apr 27, 9:52 AM, Dirk Eddelbuettel wrote:
>> On 26 April 2013 at 20:11, Valentin Kuznetsov wrote:
>> | Simon,
>> | >
>> | > I suppose it would be possible to replace it simply with
>> | > @-install_name_tool -id $(R_PACKAGE_DIR)/lib$(R_ARCH)/$(USERLIB) $(USERLIB) 2>/dev/null
>> | I'll leave it up to you (or to developers) to decide. In any case it would be appropriate to document this use case and provide suitable documentation for people who may end-up with similar problem. If you need me to test any solution I'll be happy to do so.
>> The best idea I have had so far was to replace the hardcoded /usr/bin with an
>> environment variable (say: RCPP_PATH) which we set to /usr/bin/ if no value
>> has been set by the user. That would allow you to override it, and other to
>> continue to use the working setup.
>> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel