#19 De-duplicate include paths
Closed 2 months ago by midipix. Opened 3 years ago by orbea.

slibtool: 0.5.31

A while ago the lib paths in the slibtool output were de-duplicated to prevent a project from failing to build because it over linked too many times. It also had the consequence making the build output more readable.

It would be nice if this was also done for include paths.

For a minor example see the libxml2 log from issue https://dev.midipix.org/cross/slibtool/issue/18.

rlibtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include/python2.7   -g -O2 -MT libxml.lo -MD -MP -MF .deps/libxml.Tpo -c -o libxml.lo libxml.c

http://slackless.raccoons.tech/logs/libxml-slibtool-1.log

Where slibtool prints:

-I../include -I../include 

It would be better if it only printed -I../include only once.


Thanks for the great suggestion! Done as of commit d4e0f6e.

Metadata Update from @midipix:
- Issue status updated to: Closed (was: Open)

2 months ago

Login to comment on this ticket.

Metadata