diff options
-rw-r--r-- | share/mk/local.sys.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/local.sys.mk b/share/mk/local.sys.mk index ae022a1..ced441f 100644 --- a/share/mk/local.sys.mk +++ b/share/mk/local.sys.mk @@ -23,6 +23,10 @@ MAKE_PRINT_VAR_ON_ERROR += .MAKE.MAKEFILES .PATH .endif .endif +.if !empty(.OBJDIR) +OBJTOP?= ${.OBJDIR:S,${.CURDIR},,}${SRCTOP} +.endif + .include "src.sys.mk" .if ${.MAKE.MODE:Mmeta*} != "" |