Hi Dirk, environment variable is not that bad and I'm ok with such solution. Valentin.
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. > > Thoughts? > > Dirk > > -- > Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
