Opened 11 years ago
Closed 10 years ago
#40188 closed defect (wontfix)
python27 uses -bundle, clang++ wants -dynamiclib instead
Reported by: | ghosthound | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | petrrr, cooljeanius (Eric Gallager) | |
Port: | python27 |
Description
python27 uses -bundle, clang++ wants -dynamiclib instead.
When trying to build JCC (part of building pylucene, see http://lucene.apache.org/pylucene/), compilation fails with error about using -bundle. Attached patch changes python27 setup to use -dynamiclib instead of -bundle on OS X > 10.7. Tested on OS X 10.8.4, am able to build JCC (and pylucene). No other testing has (yet) been performed.
Attachments (1)
Change History (5)
Changed 11 years ago by ghosthound
Attachment: | patch-configure-dynamiclib.diff added |
---|
comment:3 Changed 10 years ago by ned-deily (Ned Deily)
This seems like a dubious change to me, i.e. trying to deal with a specific problem in upstream pylucene by modifying how all python extension modules are built. Bundles and dylibs are different animals and Python intentionally builds extension modules as bundles. I am unaware of any open upstream Python issues about this. If there is believed to be an issue in Python, it should be properly documented and opened at https://bugs.python.org.
comment:4 Changed 10 years ago by larryv (Lawrence Velázquez)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
patch to python27 configure to use -dynamiclib instead of -bundle on OS X > 10.7