1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff -ur sip-4.15.5.orig/siputils.py sip-4.15.5/siputils.py
--- siputils.py 2014-02-21 18:31:35.000000000 +0800
+++ siputils.py 2014-04-01 23:21:41.895036589 +0800
@@ -945,8 +945,6 @@
"""
if self.generator in ("MSVC", "MSVC.NET", "MSBUILD", "BMAKE"):
plib = clib + ".lib"
- elif sys.platform == "darwin" and framework:
- plib = "-framework " + clib
else:
plib = "-l" + clib
@@ -961,8 +959,6 @@
"""
if self.generator in ("MSVC", "MSVC.NET", "MSBUILD", "BMAKE"):
prl_name = os.path.join(self.config.qt_lib_dir, clib + ".prl")
- elif sys.platform == "darwin" and framework:
- prl_name = os.path.join(self.config.qt_lib_dir, clib + ".framework", clib + ".prl")
else:
prl_name = os.path.join(self.config.qt_lib_dir, "lib" + clib + ".prl")
@@ -1633,7 +1629,7 @@
if sys.platform == "win32":
ext = "pyd"
elif sys.platform == "darwin":
- ext = "so"
+ ext = "bundle"
elif sys.platform == "cygwin":
ext = "dll"
else:
|