diff --git a/tests/headers.at b/tests/headers.at index c7f35c43..90652514 100644 --- a/tests/headers.at +++ b/tests/headers.at @@ -123,7 +123,9 @@ main (void) # Link and execute, just to make sure everything is fine (and in # particular, that MY_LLOC is indeed defined somewhere). -AT_COMPILE([caller], [caller.c input.c]) +AT_COMPILE([caller.o], [-c caller.c]) +AT_COMPILE([input.o], [-c input.c]) +AT_COMPILE([caller], [caller.o input.o]) AT_PARSER_CHECK([./caller]) AT_CLEANUP