lbry-fdroid/p4a/pythonforandroid/recipes/python2legacy/patches/fix-dynamic-lookup.patch

12 lines
768 B
Diff
Raw Normal View History

2017-08-13 03:24:00 +02:00
--- Python-2.7.2/Makefile.pre.in.orig 2012-07-05 17:09:45.000000000 +0200
+++ Python-2.7.2/Makefile.pre.in 2012-07-05 17:10:00.000000000 +0200
@@ -435,7 +435,7 @@
fi
libpython$(VERSION).dylib: $(LIBRARY_OBJS)
- $(CC) -dynamiclib -Wl,-single_module $(LDFLAGS) -undefined dynamic_lookup -Wl,-install_name,$(prefix)/lib/libpython$(VERSION).dylib -Wl,-compatibility_version,$(VERSION) -Wl,-current_version,$(VERSION) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
+ $(CC) -dynamiclib -Wl,-single_module $(LDFLAGS) -Wl,-install_name,$(prefix)/lib/libpython$(VERSION).dylib -Wl,-compatibility_version,$(VERSION) -Wl,-current_version,$(VERSION) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
libpython$(VERSION).sl: $(LIBRARY_OBJS)