Whamcloud - gitweb
LU-4470 build: wrong linux symbol file search
[fs/lustre-release.git] / config / lustre-build-linux.m4
index b1ec10e..894101c 100644 (file)
@@ -537,7 +537,7 @@ LC_MODULE_LOADING
 # or check
 AC_DEFUN([LB_CHECK_SYMBOL_EXPORT],
 [AC_MSG_CHECKING([if Linux was built with symbol $1 exported])
-grep -q -E '[[[:space:]]]$1[[[:space:]]]' $LINUX/$SYMVERFILE 2>/dev/null
+grep -q -E '[[[:space:]]]$1[[[:space:]]]' $LINUX_OBJ/$SYMVERFILE 2>/dev/null
 rc=$?
 if test $rc -ne 0; then
        export=0