#41382: libQGLViewer example fails to link when building universal -------------------------------+----------------------- Reporter: dv30fps-macosx@… | Owner: raphael@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libQGLViewer | -------------------------------+----------------------- Comment (by michaelld@…): It's trying to link to an already-installed /opt/local/lib/libQGLViewer.dylib, which was built for just x86_64. Try adding the following to the Portfile: {{{ configure.cppflags-delete -I/opt/local/include configure.ldflags-delete -L/opt/local/lib }}} and see if that helps. -- Ticket URL: <https://trac.macports.org/ticket/41382#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X