spl: Unbreak crossbuild after f20893853e

Summary:
f20893853e made getexecname no longer guarded by BOOTSTRAPPING, but it
does not build on non-FreeBSD as it tries to use KERN_PROC_PATHNAME and
related constants.

Reviewers: mm, imp

Reviewed By: imp

Subscribers: imp

Differential Revision: https://reviews.freebsd.org/D30763
This commit is contained in:
Jessica Clarke 2021-06-15 01:23:04 +01:00
parent 5720b8de48
commit d5c1296234

View File

@ -12,10 +12,8 @@ PACKAGE= runtime
SRCS = \
assert.c \
getexecname.c \
list.c \
mkdirp.c \
os/freebsd/getexecname.c \
os/freebsd/zone.c \
page.c \
timestamp.c \
@ -27,6 +25,8 @@ SRCS = \
.if !defined(BOOTSTRAPPING)
SRCS += \
atomic.c \
getexecname.c \
os/freebsd/getexecname.c \
os/freebsd/gethostid.c \
os/freebsd/getmntany.c \
os/freebsd/mnttab.c