[123195] trunk/dports/aqua/qt4-mac/Portfile

sean at macports.org sean at macports.org
Wed Aug 6 13:58:17 PDT 2014


Revision: 123195
          https://trac.macports.org/changeset/123195
Author:   sean at macports.org
Date:     2014-08-06 13:58:17 -0700 (Wed, 06 Aug 2014)
Log Message:
-----------
qt4-mac: add missing stdlib to ldflags

This error was found when trying to build for another mac osx sdk and fixes the
error:

Undefined symbols for architecture x86_64:
  "std::bad_alloc::bad_alloc()", referenced from: qBadAlloc() in qglobal.o

Modified Paths:
--------------
    trunk/dports/aqua/qt4-mac/Portfile

Modified: trunk/dports/aqua/qt4-mac/Portfile
===================================================================
--- trunk/dports/aqua/qt4-mac/Portfile	2014-08-06 20:55:37 UTC (rev 123194)
+++ trunk/dports/aqua/qt4-mac/Portfile	2014-08-06 20:58:17 UTC (rev 123195)
@@ -581,6 +581,7 @@
     # set which stdlib to use; clang only
     if {[string match *clang* ${configure.compiler}]} {
         configure.env-append QMAKE_STDLIB="-stdlib=${configure.cxx_stdlib}"
+        configure.ldflags-append -stdlib=${configure.cxx_stdlib}
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140806/52224dea/attachment-0001.html>


More information about the macports-changes mailing list