diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk index e07cbc78a658..caf05e83db60 100644 --- a/Mk/bsd.commands.mk +++ b/Mk/bsd.commands.mk @@ -104,6 +104,11 @@ XZ_CMD?= /usr/bin/xz ${XZ} MD5?= /sbin/md5 SHA256?= /sbin/sha256 +.if exist(/usr/bin/soeliminate) +SOELIM?= /usr/bin/soeliminate +.else +SOELIM?= /usr/bin/soelim +.endif # ECHO is defined in /usr/share/mk/sys.mk, which can either be "echo", # or "true" if the make flag -s is given. Use ECHO_CMD where you mean