[MacPorts] #57990: libxml2 @2.9.7_2: ICU include directory not in pkg-config output

MacPorts noreply at macports.org
Sat Feb 2 00:39:48 UTC 2019


#57990: libxml2 @2.9.7_2: ICU include directory not in pkg-config output
-----------------------+--------------------
  Reporter:  dsedivec  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  libxml2   |
-----------------------+--------------------

Comment (by raimue):

 The output of `pkg-config` is correct. The other libraries are not
 required for dynamic linking; only direct dependencies have to be given to
 the linker. If you add the `--static` flag, you will also see all the
 other libraries. I would recommend to use pkg-config as the output from
 xml2-config will lead to so called overlinking.

-- 
Ticket URL: <https://trac.macports.org/ticket/57990#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list