Actions
Bug #10830
closedLDFLAGS not honoured when linking libruby.so
Description
During configure the libraries are detected with LDFLAGS used e.g. to defined a search direcrtory with -L. During linking of library.so in Makefile.in the line
$(Q) $(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(DTRACE_OBJ) $(SOLIBS) $(EXTSOLIBS) $(OUTFLAG)$@
does not use LDFLAGS to find linked libraries (in my case libgmp.so not in a standard place).
When changed to this line linking works:
$(Q) $(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(DTRACE_OBJ) $(LDFLAGS) $(SOLIBS) $(EXTSOLIBS) $(OUTFLAG)$@
Updated by vo.x (Vit Ondruch) almost 8 years ago
- Is duplicate of Bug #11863: configure/makefile needs to follow the standard behavior added
Updated by nobu (Nobuyoshi Nakada) almost 8 years ago
- Status changed from Open to Closed
Applied in changeset r56472.
configure.in: fallback DLDFLAGS to LDFLAGS
- configure.in (DLDFLAGS): fallback to LDFLAGS.
[ruby-core:72444] [Bug #11863] - configure.in (LIBRUBY_DLDFLAGS): fallback to DLDFLAGS.
Actions
Like0
Like0Like0