--- Makefile.in.orig 2006-05-07 19:29:30.000000000 +0200 +++ Makefile.in 2006-05-07 19:30:23.000000000 +0200 @@ -81,7 +81,7 @@ $(TARGET_LIB): @objects="`find $(SUBDIRS) -name expat -prune -o -name 'gen_uri_delims.@so_ext@' -prune -o -name '*.@so_ext@' -print`"; \ - tmpcmd="$(LINK) @lib_target@ @EXTRA_OS_LINK@"; \ + tmpcmd="$(LINK) @lib_target@ @EXTRA_OS_LINK@ $(APRUTIL_LIBS)"; \ echo $$tmpcmd; \ $$tmpcmd && touch $@ --- ./test/Makefile.in.orig 2006-05-07 19:34:24.000000000 +0200 +++ ./test/Makefile.in 2006-05-07 19:34:39.000000000 +0200 @@ -12,7 +12,7 @@ # bring in rules.mk for standard functionality @INCLUDE_RULES@ -PROGRAM_DEPENDENCIES = @APRUTIL_LIBS@ +PROGRAM_DEPENDENCIES = APRUTIL_LDFLAGS = @APRUTIL_LDFLAGS@ @LT_NO_INSTALL@ all: $(PROGRAMS)