You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/sip/files/sip-4.15.5-darwin.patch

31 lines
1.1 KiB

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: