INN commit: trunk/tests (Makefile)

INN Commit rra at isc.org
Sat Oct 1 11:01:56 UTC 2011


    Date: Saturday, October 1, 2011 @ 04:01:56
  Author: iulius
Revision: 9382

add paths to external libraries in CFLAGS and LDFLAGS for the test suite

A few tests are failing (or not built) because of paths to
external headers or libraries given at configure time
unset during the build of the test suite.

Modified:
  trunk/tests/Makefile

----------+
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: Makefile
===================================================================
--- Makefile	2011-09-20 20:45:22 UTC (rev 9381)
+++ Makefile	2011-10-01 11:01:56 UTC (rev 9382)
@@ -4,7 +4,7 @@
 
 top		= ..
 RUNTESTS_CFLAGS	= -DSOURCE='"$(abs_builddir)/tests"' -DBUILD='"$(abs_builddir)/tests"'
-CFLAGS		= $(GCFLAGS) $(RUNTESTS_CFLAGS) -I.
+CFLAGS		= $(GCFLAGS) $(DB_CPPFLAGS) $(DBM_CPPFLAGS) $(PERL_CPPFLAGS) $(PYTHON_CPPFLAGS) $(SSL_CPPFLAGS) $(SASL_CPPFLAGS) $(KRB5_CPPFLAGS) $(RUNTESTS_CFLAGS) -I.
 
 ##  The tests that need to be built.  Tests in the form of shell scripts
 ##  or some other form that doesn't require compiling shouldn't be in this
@@ -45,7 +45,7 @@
 .c.o: $*.c
 	$(CC) $(CFLAGS) -c -o $@ $*.c
 
-LINK		= $(LIBTOOLLD) $(CC) $(LDFLAGS) -o $@
+LINK		= $(LIBTOOLLD) $(CC) $(LDFLAGS) $(DB_LDFLAGS) $(SSL_LDFLAGS) $(SASL_LDFLAGS) $(KRB5_LDFLAGS) -o $@
 STORAGEDEPS	= $(LIBSTORAGE) $(LIBHIST) $(LIBINN)
 STORAGELIBS	= $(STORAGEDEPS) $(STORAGE_LIBS)
 




More information about the inn-committers mailing list