From daf0865cdfd17ab7e2d620b48581e506c4d1c1ac Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Thu, 24 May 2001 10:45:38 +0000 Subject: [PATCH] add -fPIC [SVN r10216] --- build/linux_gcc.mak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/linux_gcc.mak b/build/linux_gcc.mak index 9cd2b5de..890790ba 100644 --- a/build/linux_gcc.mak +++ b/build/linux_gcc.mak @@ -17,14 +17,14 @@ ROOT=$(HOME) BOOST=$(ROOT)/boost -PYEXE=/usr/bin/python +PYEXE=PYTHONPATH=. /usr/bin/python PYINC=-I/usr/include/python1.5 #PYEXE=/usr/local/Python-1.5.2/bin/python #PYINC=-I/usr/local/Python-1.5.2/include/python1.5 #PYEXE=/usr/local/Python-2.0/bin/python #PYINC=-I/usr/local/Python-2.0/include/python2.0 -STDOPTS=-ftemplate-depth-21 +STDOPTS=-ftemplate-depth-21 -fPIC WARNOPTS= OPTOPTS=-g @@ -33,7 +33,7 @@ CPPOPTS=$(STLPORTINC) $(STLPORTOPTS) -I$(BOOST) $(PYINC) \ $(STDOPTS) $(WARNOPTS) $(OPTOPTS) MAKEDEP=-M -LD=g++ +LD=$(CPP) LDOPTS=-shared OBJ=classes.o conversions.o extension_class.o functions.o \