termux-packages/packages/ruby/Makefile.in.patch
Leonid Pliushch 584ccdb78e ruby: update to 2.7.0 (#5025)
* ruby: update to 2.7.0

* asciidoctor: bump ruby version
2020-03-15 23:27:05 +02:00

12 lines
492 B
Diff

--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -240,7 +240,7 @@
$(LIBRUBY_SO):
@-$(PRE_LIBRUBY_UPDATE)
$(ECHO) linking shared-library $@
- $(Q) $(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(SOLIBS) $(EXTSOLIBS) $(OUTFLAG)$@
+ $(Q) $(LDSHARED) $(LDFLAGS) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(SOLIBS) $(EXTSOLIBS) $(OUTFLAG)$@
-$(Q) $(OBJCOPY) -w -L '$(SYMBOL_PREFIX)Init_*' -L '$(SYMBOL_PREFIX)ruby_static_id_*' \
-L '$(SYMBOL_PREFIX)*_threadptr_*' $@
$(Q) $(POSTLINK)