[MacPorts] #34297: ld64: /usr/bin/ld: unknown flag: -exported_symbol
MacPorts
noreply at macports.org
Fri May 11 01:04:32 PDT 2012
#34297: ld64: /usr/bin/ld: unknown flag: -exported_symbol
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: jeremyhu@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: tiger powerpc | Port: ld64
-------------------------------------+--------------------------------------
Comment(by jeremyhu@…):
Please give this a try:
{{{
Index: Portfile
===================================================================
--- Portfile (revision 92790)
+++ Portfile (working copy)
@@ -92,6 +92,11 @@
}
}
}
+
+ post-patch {
+ reinplace "s:-Wl,-exported_symbol,__mh_execute_header::g" \
+ ${worksrcpath}/Makefile
+ }
}
if {${configure.compiler} == "gcc-4.0"} {
}}}
--
Ticket URL: <https://trac.macports.org/ticket/34297#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list