fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / python3 / python-3.3.3-elf-rpath.patch.1
blob33de913e09f4ad2ed074daca954cbc147c24518b
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
5 @@ -464,7 +464,7 @@
6  
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