Skip to content

Instantly share code, notes, and snippets.

@uranusjr
Created February 13, 2014 08:27
Show Gist options
  • Save uranusjr/8971675 to your computer and use it in GitHub Desktop.
Save uranusjr/8971675 to your computer and use it in GitHub Desktop.
Patch to remove hard-coded OS X build spec inside the configure script. Homebrew's Qt uses either unsupported-macx-clang-libc++ (Mavericks) or unsupported-macx-clang (10.8 and earlier). Both are find as default, while macx-g++ is not.
diff --git a/configure b/configure
index a1e1f5e..9d5d6e0 100755
--- a/configure
+++ b/configure
@@ -12,7 +12,6 @@ QXT_MODULES="docs berkeley core designer gui network sql web zeroconf"
if uname -a | grep -iq Darwin; then
QXT_MAC=1
DEFAULT_LIBS="/Library/Frameworks"
- QMAKE_PARAMS="-spec macx-g++"
NO_XRANDR=1
else
QXT_MAC=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment