General

Profile

MyCo (Maik Menz)

  • Login: MyCo
  • Registered on: 07/05/2023
  • Last sign in: 07/14/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

07/06/2023

01:46 AM Ruby Misc #19758: Statically link ext/json
The problem appears to be here:
```
$(LIBRUBY_A): $(OBJS) $(INITOBJS)
$(ECHO) linking static-library $(@:\=/)
$(Q) $(AR) $(ARFLAGS)$@ $(OBJS) $(INITOBJS)
```
where:
```
INITOBJS = dmyext.$(OBJEXT) dmyenc.$(OBJEXT)
```
...
MyCo (Maik Menz)

07/05/2023

03:01 PM Ruby Misc #19758: Statically link ext/json
nobu (Nobuyoshi Nakada) wrote in #note-2:
> Does generated ext/extinit.c include `init(Init_parser, "json/ext/parser")` line?
Yes, it also contains the other libraries that are missing,eg. Init_socket
MyCo (Maik Menz)
02:35 PM Ruby Misc #19758: Statically link ext/json
EDIT: I'm using `--enable-install-static-library --with-static-linked-ext` and it appears as if non of the ext's are actually linked into the static lib. MyCo (Maik Menz)
01:24 PM Ruby Misc #19758 (Assigned): Statically link ext/json
Hi,
I'm building Ruby both as dynamic and static library with MSVC for a project. Everything appears to work fine, but now I'm trying to use the json ext, and it only works with the dynamically linked version.
In the statically linke...
MyCo (Maik Menz)

Also available in: Atom