[PATCH] Sync toplevel ltmain.sh with gcc
Dave Korn
dave.korn.cygwin@googlemail.com
Mon Aug 31 15:08:00 GMT 2009
Hi folks,
The attached patch backports a new feature that has already been accepted
for upstream libtool; it adds a new option to control where DLLs get installed
to on Windows and other PE platforms.
It was approved and applied to GCC, so this patch is necessary to sync /src.
It incorporates the one tiny bugfix that was discovered to be needed there
straight off.
I'm just giving it a quick build-and-install test; it should make no
difference in /src because we aren't building DLLs for anything anyway, and
even if we were it won't alter the original default behaviour without manually
adding a -bindir option to a makefile somewhere.
ChangeLog:
* ltmain.sh (func_normal_abspath): New function.
(func_relative_path): Likewise.
(func_mode_help): Document new -bindir option for link mode.
(func_mode_link): Add new -bindir option, and use it to place
output DLL if specified.
Will check it in late this afternoon unless anyone shouts not to.
cheers,
DaveK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resync-toplevel-ltmain.diff
Type: text/x-c
Size: 8298 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090831/f2e23f25/attachment.bin>
More information about the Binutils
mailing list