httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Makefile.tmpl change, please.
Date Wed, 21 May 1997 11:49:07 GMT
Rasmus Lerdorf wrote:
> 
> I Makefile.tmpl, does anybody object to switching the order of $(REGLIB)
> and $(LIBS) in the httpd rule?
> 
> ie.  Change from:
> 
> httpd: $(REGLIB) $(OBJS)
>        $(CC) $(LFLAGS)  -o httpd $(OBJS) $(REGLIB) $(LIBS)
> 
> to:
> 
> httpd: $(REGLIB) $(OBJS)
>        $(CC) $(LFLAGS)  -o httpd $(OBJS) $(LIBS) $(REGLIB)
> 
> If not, could someone please commit this change?
> 
> The reason being that when you link in any extra libraries that happen to
> want to make use of the regex library, the regex library must come after
> these libraries on the linker line, and not before.  
> 

Unless you want to avoid any regex libs that might be included in
LIBS itself. At present, I don't think any setup uses LIBS for
stuff like -lc or whatever... I think it's a ``safe enough''
change.

+1

-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
                  "Not the Craw... the CRAW!"

Mime
View raw message