From: nobu.nokada@... Date: 2004-11-10T13:59:54+09:00 Subject: Re: ruby and LDFLAGS Hi, At Mon, 1 Nov 2004 19:12:33 +0900, Michal 'hramrach' Suchanek wrote in [ruby-talk:118550]: > > > 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. > > And what flags do I use to propagate my favourite library paths into > mkmf link tests? What you want is --with-opt-dir / --with-opt-include / --with-opt-lib ? -- Nobu Nakada