Skip to content

Commit 8837200

Browse files
author
Ralf W. Grosse-Kunstleve
committed
fixes due to Jens Maurer (merged from branch boost_python_friend_fixes)
[SVN r10395]
1 parent 081150b commit 8837200

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build/linux_gcc.mak

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
ROOT=$(HOME)
1818
BOOST=$(ROOT)/boost
1919

20-
PYEXE=/usr/bin/python
20+
PYEXE=PYTHONPATH=. /usr/bin/python
2121
PYINC=-I/usr/include/python1.5
2222
#PYEXE=/usr/local/Python-1.5.2/bin/python
2323
#PYINC=-I/usr/local/Python-1.5.2/include/python1.5
2424
#PYEXE=/usr/local/Python-2.0/bin/python
2525
#PYINC=-I/usr/local/Python-2.0/include/python2.0
2626

27-
STDOPTS=-ftemplate-depth-21
27+
STDOPTS=-fPIC -ftemplate-depth-21
2828
WARNOPTS=
2929
OPTOPTS=-g
3030

@@ -33,7 +33,7 @@ CPPOPTS=$(STLPORTINC) $(STLPORTOPTS) -I$(BOOST) $(PYINC) \
3333
$(STDOPTS) $(WARNOPTS) $(OPTOPTS)
3434
MAKEDEP=-M
3535

36-
LD=g++
36+
LD=$(CPP)
3737
LDOPTS=-shared
3838

3939
OBJ=classes.o conversions.o extension_class.o functions.o \

0 commit comments

Comments
 (0)