From 9768d16334b592a32c69df5382b299e0054dadd2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 26 Jun 2017 16:20:53 +0530 Subject: [PATCH] Forgot that on macOS qmake generates .dylib files --- setup/build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/build.py b/setup/build.py index 41f3b2096d..74d42640aa 100644 --- a/setup/build.py +++ b/setup/build.py @@ -414,6 +414,8 @@ class Build(Command): self.check_call([self.env.make] + ['-j%d'%(cpu_count or 1)]) finally: os.chdir(cwd) + if isosx: + os.rename(self.j(self.d(target), 'libheadless.dylib'), self.j(self.d(target), 'headless.so')) def build_sip_files(self, ext, src_dir): from setup.build_environment import pyqt