diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-09-29 15:42:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-29 15:42:41 (GMT) |
commit | d15108a4789aa1e3c12b2890b770550c90a30913 (patch) | |
tree | 95ee8afd520ccfea5854d620d2fe818d0be414ad /Makefile.pre.in | |
parent | 90f1d989594f3340c5ffaa2cf9cef1876ac6bb89 (diff) | |
download | cpython-d15108a4789aa1e3c12b2890b770550c90a30913.zip cpython-d15108a4789aa1e3c12b2890b770550c90a30913.tar.gz cpython-d15108a4789aa1e3c12b2890b770550c90a30913.tar.bz2 |
stop using ranlib (closes bpo-31625) (#3815)
Instead, simply pass 's' to ar.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 8f4918d..90eecd8 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -38,7 +38,6 @@ CXX= @CXX@ MAINCC= @MAINCC@ LINKCC= @LINKCC@ AR= @AR@ -RANLIB= @RANLIB@ READELF= @READELF@ SOABI= @SOABI@ LDVERSION= @LDVERSION@ @@ -577,16 +576,9 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o # Build static library -# avoid long command lines, same as LIBRARY_OBJS $(LIBRARY): $(LIBRARY_OBJS) -rm -f $@ - $(AR) $(ARFLAGS) $@ Modules/getbuildinfo.o - $(AR) $(ARFLAGS) $@ $(PARSER_OBJS) - $(AR) $(ARFLAGS) $@ $(OBJECT_OBJS) - $(AR) $(ARFLAGS) $@ $(PYTHON_OBJS) Python/frozen.o - $(AR) $(ARFLAGS) $@ $(MODULE_OBJS) - $(AR) $(ARFLAGS) $@ $(MODOBJS) - $(RANLIB) $@ + $(AR) $(ARFLAGS) $@ $^ libpython$(LDVERSION).so: $(LIBRARY_OBJS) if test $(INSTSONAME) != $(LDLIBRARY); then \ @@ -1422,7 +1414,6 @@ libainstall: @DEF_MAKE_RULE@ python-config $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \ else \ $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \ - $(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \ fi; \ else \ echo Skip install of $(LIBRARY) - use make frameworkinstall; \ |