From 724b821f30304b79751657067cece1707be2bb6f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 3 Oct 2008 17:55:09 +0200 Subject: [PATCH] Remove unnecessary arguments to LDFLAGS in python. --HG-- extra : convert_revision : f21485b2f4ae6e2786151359a84933e2e9e5a3a9 --- templates/python-2.5.2.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/python-2.5.2.tmpl b/templates/python-2.5.2.tmpl index 3f5b20efd54..641b128dfb9 100755 --- a/templates/python-2.5.2.tmpl +++ b/templates/python-2.5.2.tmpl @@ -6,8 +6,6 @@ patch_files="python-2.5.2-fix-build.diff python-2.5.2-fix-curses-module.diff python-2.5.2-fix-bluetooth.diff python-2.5.2-fix-mremap.diff" url=http://www.python.org/ftp/python/2.5.2 configure_args="--with-threads --enable-shared" -# Python needs the following in LDFLAGS, otherwise modules don't work. -LDFLAGS="-L. -L$PKGFS_DESTDIR/$pkgname -Wl,-R$PKGFS_MASTERDIR/lib/python2.5" build_style=gnu_configure short_desc="Interpreted, interactive, object-oriented programming language" maintainer="Juan RP " @@ -23,3 +21,6 @@ long_desc=" Python's basic power can be extended with your own modules written in C or C++. On most systems such modules may be dynamically loaded. Python is also adaptable as an extension language for existing applications." + +# While building it needs to look current dir for libs... +LDFLAGS="-L."