From: Nobuyoshi Nakada Date: 2004-11-01T02:24:30+09:00 Subject: Re: ruby and LDFLAGS Hi, At Sat, 30 Oct 2004 07:34:27 +0900, Michal 'hramrach' Suchanek wrote in [ruby-talk:118328]: > Does anybody know why ruby does not support LDFLAGS? > I am again installing in an environment where libraries are mostly in a > non-standard location - BSD. > I found I can pass arguments to configure, one for each extension that > requires a library from /usr/pkg/lib. But that means I have to name all > the extensions and if one is later added I have to find the argument > name for it. Use DLDFLAGS for extensions instead of LDFLAGS. The latter is for executable files, and some platforms require different flags to link shared objects. -- Nobu Nakada