Ticket #22870 (closed enhancement: wontfix)
muniversal group: merge .la dependency_libs value
|Reported by:||pguyot@…||Owned by:||macports-tickets@…|
|Keywords:||Cc:||ryandesign@…, mcalhoun@…, egall@…|
.la files are automatically generated text files that contain linking information. muniversal group fails if two .la files differ.
However, it seems we could apply some heuristics, for example with the dependency_libs key.
i386 and x86_64 libgettextlib.la files are identical except for the following line:
# Libraries that this one depends upon. dependency_libs=' /opt/local/lib/libintl.la -L/opt/local/lib -lc -ltermcap'
# Libraries that this one depends upon. dependency_libs=' -R/opt/local/lib /opt/local/lib/libintl.la -L/opt/local/lib -lc /opt/local/lib/libiconv.la -lncurses'
That these lines could probably be merged by putting every item in each, and that wouldn't create a problem. The attached patch does just this and allows gettext +universal to be built on 10.6.
The patch could be extended to process inherited_linker_flags as well (see ticket #22801).
What do you think?
comment:1 in reply to: ↑ description Changed 4 years ago by ryandesign@…
- Cc mcalhoun@… added
- Port set to muniversal
- Status changed from new to closed
- Resolution set to wontfix