[PATCH] gold: Fix a minor bug in --exclude-libs.

Ian Lance Taylor iant@google.com
Wed May 20 06:27:00 GMT 2009


"Doug Kwan (關振德)" <dougkwan@google.com> writes:

> 2009/5/19 Ian Lance Taylor <iant@google.com>:
>
>>> +alt/libexclude_libs_test_3.a: exclude_libs_test_3.o
>>> +     $(TEST_AR) rc $@ $^
>>
>> Does this work if the directory "alt" has not already been created?
>
> I have to checked.  If not, I'll fix it.  I just copied what other tests do.

Ah, it works because the alt/weak_undef_lib.so target creates the alt
subdirectory.  Please do the same in your patch.
	test -d alt || mkdir -p alt

Ian



More information about the Binutils mailing list