Opened 15 years ago

Last modified 15 years ago

#21583 closed defect

libxml2 2.7.4 +universal. Pkg-config error — at Initial Version

Reported by: huw@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc: cedric.luthi@…
Port: libxml2

Description

pkg-config --libs libxml-2.0 displays "Libs.private field occurs twice in '/opt/local/lib/pkgconfig/libxml-2.0.pc'" with the universal variant of libxml2 installed on Snow Leopard.

The libxml-2.0.pc file contains:

#ifndef LP64 Libs.private: -lpthread -liconv -lm #else /* LP64 */ Libs.private: -lpthread -lz -liconv -lm #endif /* LP64 */

and the preprocessor directives are evidently confusing pkg-config.

Change History (0)

Note: See TracTickets for help on using tickets.