[Patch] Fix PR56780: --disable-install-libiberty still installs libiberty.a
Matt Burgess
matthew@linuxfromscratch.org
Wed Apr 3 15:15:00 GMT 2013
Hi,
Please find attached a patch that fixes PR56780. Build tested on
x86_64-linux. I've also attached it to the bug.
Regards,
Matt Burgess
2013-04-03 Matt Burgess <matthew@linuxfromscratch.org>
other/PR56780
* libiberty/configure.ac:
Move test for --enable-install-libiberty outside of the
'with_target_subdir' test so that it actually gets run.
Add output messages to show the test result.
* libiberty/configure:
Regenerate.
* libiberty/Makefile.in (install_to_libdir):
Place the installation of the libiberty library in the same guard as
that used for the headers to prevent it being installed unless requested
via --enable-install-libiberty.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr56780.patch
Type: text/x-patch
Size: 3428 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130403/c9874809/attachment.bin>
More information about the Gcc-patches
mailing list