From 7e62a3c4267c232e155e6f46630f696891526e34 Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Tue, 6 Oct 1998 06:49:13 +0000 Subject: Support dynamic loading of modules in an ELF world. Submitted by: Vladimir Kushnir --- lang/python22/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lang/python22') diff --git a/lang/python22/Makefile b/lang/python22/Makefile index 468b678a4932..491a1aa8f7a5 100644 --- a/lang/python22/Makefile +++ b/lang/python22/Makefile @@ -3,7 +3,7 @@ # Date created: 08 August 1995 # Whom: jkh # -# $Id: Makefile,v 1.38 1998/08/07 23:56:28 asami Exp $ +# $Id: Makefile,v 1.39 1998/09/25 10:05:08 asami Exp $ # DISTNAME= pyth151 @@ -24,7 +24,7 @@ PATCHFILES= _tkinter.1.txt SocketServer.1.txt bltinmodule.1.txt \ string.1.txt stringobject.1.txt stropmodule.1.txt \ timemodule.1.txt urllib.1.txt urllib.2.txt zlibmodule.1.txt -MAINTAINER= tg@FreeBSD.org +MAINTAINER= tg@FreeBSD.ORG LIB_DEPENDS= ${TK_DEPENDS} @@ -98,3 +98,9 @@ post-install: strip ${PREFIX}/bin/python .include + +# need to get ${PORTOBJFORMAT} +.if ${PORTOBJFORMAT} == elf +LDFLAGS+= -rdynamic +CONFIGURE_ENV?= LDFLAGS="${LDFLAGS}" +.endif -- cgit v1.2.3