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)$@
Actions
Like0
Like0Like0