mirror of https://github.com/vitalif/phantomjs
Mac: Embed Info.plist in the executable.
Info.plist is needed to surpress the dock icon. Up to now, we need to have the file available at run-time. With this change, the contents of Info.plist are embedded in the executable at the linking stage, thus there is no need to deploy the Info.plist file anymore. Credit to Smokey Ardisson for the tip. http://code.google.com/p/phantomjs/issues/detail?id=5281.6
parent
4669c16e64
commit
71425850f6
|
@ -63,6 +63,7 @@ os2: RC_FILE = phantomjs_os2.rc
|
|||
|
||||
mac {
|
||||
QMAKE_CXXFLAGS += -fvisibility=hidden
|
||||
QMAKE_LFLAGS += '-sectcreate __TEXT __info_plist Info.plist'
|
||||
CONFIG -= app_bundle
|
||||
# Uncomment to build a Mac OS X Universal Binary (i.e. x86 + ppc)
|
||||
# CONFIG += x86 ppc
|
||||
|
|
Loading…
Reference in New Issue