rebase dlls after building modules

This commit is contained in:
Jeremy Drake
2020-08-14 00:51:16 -07:00
parent 4cdbcb86ec
commit 3e5f58cf3b
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
--- Python-3.8.5/Makefile.pre.in.orig 2020-08-13 17:35:32.636969100 -0700
+++ Python-3.8.5/Makefile.pre.in 2020-08-13 23:24:10.054938400 -0700
@@ -609,6 +609,7 @@
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
+ [[ `uname -m` == i?86 ]] && find . -name \*.dll | rebase -sOT - || true
libpython$(LDVERSION).so: $(LIBRARY_OBJS) $(DTRACE_OBJS)
if test $(INSTSONAME) != $(LDLIBRARY); then \