diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4 index a3a26ef43e4..78159010327 100644 --- a/lib/replace/libreplace.m4 +++ b/lib/replace/libreplace.m4 @@ -46,10 +46,10 @@ if test x"$libreplacedir" = "x"; then AC_MSG_ERROR([cannot find libreplace in $libreplacepaths]) fi -LIBREPLACEOBJ="replace.o" +LIBREPLACEOBJ="$libreplacedir/replace.o" AC_SUBST(LIBREPLACEOBJ) -LIBREPLACEOBJ="${LIBREPLACEOBJ} snprintf.o" +LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/snprintf.o" AC_TYPE_SIGNAL AC_TYPE_UID_T