> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Trans
> Sent: Tuesday, November 06, 2007 11:31 AM
> To: [email protected]
> Subject: Re: [Rubygems-developers] gemspec extensions attribute
> 
> On Nov 6, 2007 12:42 PM, Luis Lavena <[EMAIL PROTECTED]> wrote:
> > On 11/6/07, Trans <[EMAIL PROTECTED]> wrote:
> > >
> > > No one can tell me, if there's a way to get the comoiled 
> libs copied 
> > > to the right place? I ran setup.rb and it puts them in the right 
> > > place, so I'm surprised gems does not.
> > >
> > > Should I submit a bug report?
> > >
> >
> > I don't quite understand your question: you're expecting 
> that rubygems 
> > (gem install) copy your lib/folder to some place?
> 
> No. I'm still talking about compiling extensions.
> 
> When
> 
>   gem install foo
> 
> and foo's gemspec has extensions defined, it does the 
> compilation, right? The resulting .so files get copied to 
> lib/, but that's the wrong place. If you use setup.rb instead 
> they get copied to right place in 'lib/foo/'. How do I tell 
> gems to copy them to lib/foo/ and not lib/?

I think you have to do create_makefile('your_lib', 'foo') in the
extconf.rb file.

Regards,

Dan


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to