diff --git a/share/mk/local.meta.sys.mk b/share/mk/local.meta.sys.mk index 3d0cb64e9761..85e418996020 100644 --- a/share/mk/local.meta.sys.mk +++ b/share/mk/local.meta.sys.mk @@ -165,7 +165,7 @@ STAGE_SYMLINKS_DIR= ${STAGE_OBJTOP} LDFLAGS_LAST+= -Wl,-rpath-link -Wl,${STAGE_LIBDIR} .if ${MK_SYSROOT} == "yes" -SYSROOT?= ${STAGE_OBJTOP}/ +SYSROOT?= ${STAGE_OBJTOP} .else LDFLAGS_LAST+= -L${STAGE_LIBDIR} .endif