ryandesign at macports.org
Wed Oct 22 16:20:06 PDT 2014
> On Oct 22, 2014, at 6:14 PM, larryv at macports.org wrote:
> larryv at macports.org
> 2014-10-22 16:14:09 -0700 (Wed, 22 Oct 2014)
> Log Message
> glib2: Fix Libtool MACOSX_DEPLOYMENT_TARGET bug
> This was causing universal build failures on Yosemite, as linker
> invocations would try to link to seemingly-random libraries that were
> not specified on the command line, erroring out with "ld: in
> '/opt/local/lib/libsqlite3.dylib', file was built for x86_64 which is
> not the architecture being linked (i386):
> /opt/local/lib/libsqlite3.dylib for architecture i386" (although the
> exact library varied depending on which other ports were installed).
> Modified Paths
> • trunk/dports/devel/glib2/Portfile
The change looks correct, however I don't think I was experiencing build failures on Yosemite due to this, and I do build universal by default.
The same change should be made to glib2-devel.
More information about the macports-dev