aboutsummaryrefslogtreecommitdiff
path: root/lib/libopenbsd
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2018-12-05 10:58:02 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2018-12-05 10:58:02 +0000
commitabc73e04c2a0add60dea19c7aab5a0a4d51ab418 (patch)
treea0292a98226c776857216c3e4fecb572dbfa677e /lib/libopenbsd
parentc10d927c403a23f69d7a2632f024fc01362d73ca (diff)
Notes
Diffstat (limited to 'lib/libopenbsd')
-rw-r--r--lib/libopenbsd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libopenbsd/Makefile b/lib/libopenbsd/Makefile
index afb41b393fbd..7b0f3778046c 100644
--- a/lib/libopenbsd/Makefile
+++ b/lib/libopenbsd/Makefile
@@ -2,10 +2,15 @@
PACKAGE=lib${LIB}
LIB= openbsd
-SRCS= getdtablecount.c \
- imsg-buffer.c \
+SRCS= imsg-buffer.c \
imsg.c \
ohash.c
+.if !defined(BOOTSTRAPPING)
+# Skip getdtablecount.c when bootstrapping since it doesn't compile for Linux
+# and is not used by any of the bootstrap tools
+SRCS+= getdtablecount.c
+.endif
+
INTERNALLIB=
CFLAGS+= -I${.CURDIR}