From owner-freebsd-python@FreeBSD.ORG Fri Mar 5 02:14:13 2004 Return-Path: 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 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 cc: Dima Dorfman 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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