qt: only pass -qt-xcb on non-OS X

This commit is contained in:
Ben Boeckel 2016-09-06 16:02:25 -04:00
parent 112122bc28
commit 77611913c6

View File

@ -237,12 +237,18 @@ def configure(self):
@when('@5.7:')
def configure(self):
args = self.common_config_args
if not sys.platform == 'darwin':
args.extend([
'-qt-xcb',
])
configure('-no-eglfs',
'-no-directfb',
'-qt-xcb',
'{0}-gtk'.format('' if '+gtk' in self.spec else '-no'),
'-skip', 'webengine',
*self.common_config_args)
*args)
def install(self, spec, prefix):
self.configure()