[MacPorts] #70816: lazarus @3.4: gtk2 backend uses a wrong ldflag: ld: library not found for -lgtk-x11-2.0

MacPorts noreply at macports.org
Fri Sep 20 00:38:22 UTC 2024


#70816: lazarus @3.4: gtk2 backend uses a wrong ldflag: ld: library not found for
-lgtk-x11-2.0
---------------------------+--------------------------
  Reporter:  barracuda156  |      Owner:  barracuda156
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.1
Resolution:                |   Keywords:
      Port:  lazarus       |
---------------------------+--------------------------
Changes (by barracuda156):

 * owner:  (none) => barracuda156
 * status:  new => assigned


Comment:

 Our config file for FPC is wrong, it fails to add MacPorts prefix, so
 nothing gonna link.
 This solves the problem, should go in `fpc.cfg`.
 {{{
 -Fl/opt/local/lib
 }}}

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


More information about the macports-tickets mailing list