How to install-libLTLIBRARIES dll to bin?

Dave Korn dave.korn.cygwin@googlemail.com
Wed Jul 29 15:28:00 GMT 2009


Charles Wilson wrote:
> Dave Korn wrote:
> 
>>   Only libtool knows about the DLL.  Only the Makefile knows about the setting
>> of $bindir from configure.  Currently however the Makefile only passes the
>> path to the output in $libdir.  Therefore ISTM that the only correct solution
>> is to add a --bindir= option to libtool and modify automake or libtoolise to
>> ensure it gets passed by the makefiles when they invoke libtool.
> 
> Agreed.  This is still on my TODO list for the cygwin version of
> libtool, and (obviously) for eventual submission to upstream.  However,
> if somebody beats me to it, PTC.

  Something like this?  Untested as yet, I'm going to put it through a gcc
bootstrap cycle.  Should I be worried about stripping any final slash off the
-bindir option to avoid inadvertent doubling-up when I append "/bin/...", do you
reckon?

    cheers,
      DaveK


-------------- next part --------------
A non-text attachment was scrubbed...
Name: libtool-bindir-for-dlls.diff
Type: text/x-c
Size: 2248 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090729/c6c6e8e4/attachment.bin>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list