[issue11370] Fix distutils to carry configure's LIBS through to extension modules.

John Szakmeister report at bugs.python.org
Wed Mar 2 11:08:25 CET 2011


New submission from John Szakmeister <john at szakmeister.net>:

This is a port of r301 from unladen swallow to the py3k-jit branch.

On the Mac, there was an extra '-framework CoreFoundation' that was being passed in python3 (maybe it wasn't there in Python 2.x?).  At any rate, I changed the logic to ignore anything that didn't start with a "-l" or end with a ".a".  Not sure if that's the best answer, or if we should allow -framework and friends to pass through.

I put this under distutils, but it's really targeted towards the py3k-jit branch... which hasn't been updated since June. :-(

----------
assignee: tarek
components: Distutils
files: libs-to-extension.patch
keywords: patch
messages: 129863
nosy: eric.araujo, jszakmeister, tarek
priority: normal
severity: normal
status: open
title: Fix distutils to carry configure's LIBS through to extension modules.
type: feature request
Added file: http://bugs.python.org/file20971/libs-to-extension.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11370>
_______________________________________


More information about the Python-bugs-list mailing list