Qt import: use static build on Linux only.

http://code.google.com/p/phantomjs/issues/detail?id=226
1.5
Ariya Hidayat 2012-03-06 18:49:04 -08:00
parent 685c5f5725
commit 33f436d703
2 changed files with 8 additions and 4 deletions

View File

@ -7,8 +7,10 @@ QT_CFG+=' -opensource' # Use the open-source license
QT_CFG+=' -confirm-license' # Silently acknowledge the license confirmation
QT_CFG+=' -v' # Makes it easier to see what header dependencies are missing
# Static build. FIXME: How about Linux?
QT_CFG+=' -static'
# Static build on Mac OS X only
if [[ $OSTYPE = darwin* ]]; then
QT_CFG+=' -static'
fi
QT_CFG+=' -release' # Build only for release (no debugging support)
QT_CFG+=' -fast' # Accelerate Makefiles generation

View File

@ -7,8 +7,10 @@ QT_CFG+=' -opensource' # Use the open-source license
QT_CFG+=' -confirm-license' # Silently acknowledge the license confirmation
QT_CFG+=' -v' # Makes it easier to see what header dependencies are missing
# Static build. FIXME: How about Linux?
QT_CFG+=' -static'
# Static build on Mac OS X only
if [[ $OSTYPE = darwin* ]]; then
QT_CFG+=' -static'
fi
QT_CFG+=' -release' # Build only for release (no debugging support)
QT_CFG+=' -fast' # Accelerate Makefiles generation