1 set RPATH (only to be used on ELF platforms)
3 --- python3/Makefile.pre.in 2013-04-19 15:08:43.637715422 +0200
4 +++ python3/Makefile.pre.in 2013-04-19 15:07:32.685711138 +0200
7 # Build the interpreter
8 $(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
9 - $(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Modules/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
10 + $(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Modules/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) -Wl,-rpath,\$$ORIGIN
12 platform: $(BUILDPYTHON) pybuilddir.txt
13 $(RUNSHARED) $(PYTHON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print(get_platform()+"-"+sys.version[0:3])' >platform