From owner-freebsd-python@FreeBSD.ORG  Fri Mar  5 02:14:13 2004
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 3C8F916A4CE; Fri,  5 Mar 2004 02:14:13 -0800 (PST)
Received: from miffy.openlook.org (openlook.org [211.236.182.73])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id B554543D48; Fri,  5 Mar 2004 02:14:12 -0800 (PST)
	(envelope-from perky@miffy.openlook.org)
Received: by miffy.openlook.org (Postfix, from userid 1000)
	id 0033AA9C2; Fri,  5 Mar 2004 19:18:37 +0900 (KST)
Date: Fri, 5 Mar 2004 19:18:37 +0900
From: Hye-Shik Chang <perky@i18n.org>
To: python@FreeBSD.org
Message-ID: <20040305101837.GA78274@i18n.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Accept-Language: ko, en
User-Agent: Mutt/1.5.5.1i
cc: John Hay <jhay@icomtek.csir.co.za>
cc: Dima Dorfman <dd@FreeBSD.org>
Subject: Python patch to install a shared library
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Mar 2004 10:14:13 -0000

Hello,

Per requested by many people, I made a patch to make python port
to install not only static library but also shared library and its
interpreter frontend.  This obsoletes BUILD_SHARED option and the
port doesn't build PIC binary or library even for amd64 and ia64
anymore.  This means that you need to change linking with not static
but shared library if you need to embed python into your shared
library.

Please test this patch on your platform:
 http://people.freebsd.org/~perky/pyshared.diff


Any comments are very welcome.

Regards,
Hye-Shik