martin 99/12/15 14:08:01
Modified: src/helpers TestCompile Log: Make sure that $(LIBS) appears *after* the input file name, to allow resolving of external symbols on all kinds of C compilers. Actually, even IBM's should be able to live with that (see the linking of the utilities in support/Makefile!). Reviewed by: Jim Jagielski Revision Changes Path 1.37 +2 -2 apache-1.3/src/helpers/TestCompile Index: TestCompile =================================================================== RCS file: /export/home/cvs/apache-1.3/src/helpers/TestCompile,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- TestCompile 1999/12/10 11:03:19 1.36 +++ TestCompile 1999/12/15 22:07:59 1.37 @@ -201,10 +201,10 @@ LDFLAGS=\$(LDFLAGS1) \$(EXTRA_LDFLAGS) dummy: - cd ..; \$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) -o helpers/dummy $TLIB \$(LIBS) helpers/dummy.c + cd ..; \$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) -o helpers/dummy helpers/dummy.c $TLIB \$(LIBS) testfunc: - cd ..; \$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) -o helpers/testfunc $TLIB \$(LIBS) helpers/testfunc.c + cd ..; \$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) -o helpers/testfunc helpers/testfunc.c $TLIB \$(LIBS) EOF # Now run that Makefile