summaryrefslogtreecommitdiff
path: root/libutil/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/Makefile.in')
-rw-r--r--libutil/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libutil/Makefile.in b/libutil/Makefile.in
index a1c0beefc..1c4b910ba 100644
--- a/libutil/Makefile.in
+++ b/libutil/Makefile.in
@@ -20,6 +20,10 @@ libutil_SRC := $(wildcard $(libutil_DIR)/*.c)
ifneq ($(ARCH_USE_MMU),y)
libutil_SRC := $(filter-out $(libutil_DIR)/forkpty.c,$(libutil_SRC))
endif
+ifneq ($(UCLIBC_HAS_PTY),y)
+libutil_SRC := $(filter-out $(libutil_DIR)/openpty.c $(libutil_DIR)/forkpty.c \
+ ,$(libutil_SRC))
+endif
libutil_OBJ := $(patsubst $(libutil_DIR)/%.c,$(libutil_OUT)/%.o,$(libutil_SRC))
ifeq ($(DOPIC),y)