Bump for 3.6-28
[LibreOffice.git] / python / Python-2.6.1-nohardlink.patch
blob2592253e5835eaf2cbcf3b1eca698051c8071daa
1 --- misc/Python-2.6.1/Makefile.pre.in 2011-03-08 18:23:37.230410480 +0100
2 +++ misc/build/Python-2.6.1/Makefile.pre.in 2011-03-08 18:22:57.935746999 +0100
3 @@ -414,7 +414,7 @@
4 SONAME="-Wl,-h$(INSTSONAME)"; \
5 fi; \
6 $(LDSHARED) $(LDFLAGS) $(SONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
7 - $(LN) -f $(INSTSONAME) $@; \
8 + $(LN) -fs $(INSTSONAME) $@; \
9 else\
10 $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
12 @@ -767,7 +767,7 @@
13 then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
14 else true; \
16 - (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON))
17 + (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) $(PYTHON))
18 -rm -f $(DESTDIR)$(BINDIR)/python-config
19 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)