Michael Tokarev:
[ Charset ISO-8859-1 unsupported, converting... ]
> On 29.03.2012 22:23, Wietse Venema wrote:
> []
> > Perhaps you can suggest a way for makedefs to parse out the CPU
> > type from "uname -whatever" and use that in the library search?
> 
> This isn't about uname.  Uname may return one thing, yet postfix
> may be building for entirely another -- that's the main motivation
> behind multiarch.

The makedefs script assumes Postfix is built for the current
architecture. It needs command-line overrides to cross-compile
(at least that't the version I am working with).

> So the best fix for this stuff is - in my opinion anyway -
> just assume that -lnsl -lresolv is always there and add it
> unconditionally on linux2 or linux3.

That may well be the simplest solution.

> .  Here's the content of SEARCHDIRS variable from
> makedefs script on my 32bit system:

Hmm, I see no SEARCHDIRS in my makedefs files. What does yours
look like?

        Wietse

Reply via email to