You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rasmus Lerdorf <ra...@lerdorf.on.ca> on 1997/05/21 13:27:29 UTC

Makefile.tmpl change, please.

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.  

-Rasmus