Re: [Rd] How to change name of .so/.dll

From: Matthew Dowle <mdowle_at_mdowle.plus.com>
Date: Wed, 13 Jun 2012 08:45:44 +0000

Matthew Dowle <mdowle <at> mdowle.plus.com> writes:

>
> On Tue, 2012-06-12 at 20:38 -0400, Simon Urbanek wrote:
> > Something like
> >

> > all: $(SHLIB)
> > mv $(SHLIB) datatable$(SHLIB_EXT)
> >
> > should do the trick (resist the temptation to create a
datatable$(SHLIB_EXT) target - it doesn't work due
> to the makefile loading sequence, unfortunately). AFAIR you don't need to
mess with install.libs
> because the default is to install all shlibs in the directory.
> >
> > Cheers,
> > Simon
>
> Huge thank you, Simon. Works perfectly. +100!
>
> Matthew

I guess the 'mv' command works on Mac, too. For Windows I think I need to create pkg/src/Makevars.win with 'mv' replaced by 'rename'. Is that right?

all: $(SHLIB)

        rename $(SHLIB) datatable$(SHLIB_EXT)

I could try that and submit to winbuilder and see, but asking here as well in case theres anything else to consider for Windows.

Thanks again, Matthew



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 13 Jun 2012 - 09:41:52 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 13 Jun 2012 - 11:10:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive