[MacPorts] #57092: wxgtk-3.0: build fails on 10.12 (shared-ld: unhandled option '-stdlib=libc++')

MacPorts noreply at macports.org
Mon Sep 3 22:02:29 UTC 2018


#57092: wxgtk-3.0: build fails on 10.12 (shared-ld: unhandled option
'-stdlib=libc++')
------------------------+----------------------
  Reporter:  jwhowse4   |      Owner:  mojca
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  wxgtk-3.0  |
------------------------+----------------------

Comment (by kencu):

 Here's the patch (you can't add it as a patchfile, I believe, because all
 patching comes before the `configure` stage... you'd have to run `patch`
 manually with a system command `post-configure`.
 {{{
 --- build/shared-ld-sh.orig     2018-09-03 14:59:03.000000000 -0700
 +++ build/shared-ld-sh  2018-09-03 14:59:12.000000000 -0700
 @@ -46,6 +46,11 @@
          args="${args} $1"
          ;;

 +       -stdlib*)
 +        # collect these options
 +        args="${args} $1"
 +        ;;
 +
         -dynamiclib|-bundle)
          linking_flag="$1"
          ;;
 }}}

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


More information about the macports-tickets mailing list