httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ras...@lerdorf.on.ca (Rasmus Lerdorf)
Subject Makefile.tmpl change, please.
Date Wed, 21 May 1997 11:27:29 GMT
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


Mime
View raw message