summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-28 13:18:08 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-28 13:18:08 +0300
commitb0414f3fa123b532c44a9180b9e2d9122ee35981 (patch)
tree07356b4bbe57b64748075d94280804aa6a1176ff /python
parentafd1aece660fcc8b604b11fd09d7978ede5fd570 (diff)
Make the patch actually apply
Diffstat (limited to 'python')
-rw-r--r--python/Python-2.6.1-nohardlink.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/Python-2.6.1-nohardlink.patch b/python/Python-2.6.1-nohardlink.patch
index c552b1a0e126..2592253e5835 100644
--- a/python/Python-2.6.1-nohardlink.patch
+++ b/python/Python-2.6.1-nohardlink.patch
@@ -1,9 +1,9 @@
--- misc/Python-2.6.1/Makefile.pre.in 2011-03-08 18:23:37.230410480 +0100
+++ misc/build/Python-2.6.1/Makefile.pre.in 2011-03-08 18:22:57.935746999 +0100
@@ -414,7 +414,7 @@
- libpython$(VERSION).so: $(LIBRARY_OBJS)
- if test $(INSTSONAME) != $(LDLIBRARY); then \
- $(LDSHARED) $(LDFLAGS) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
+ SONAME="-Wl,-h$(INSTSONAME)"; \
+ fi; \
+ $(LDSHARED) $(LDFLAGS) $(SONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
- $(LN) -f $(INSTSONAME) $@; \
+ $(LN) -fs $(INSTSONAME) $@; \
else\