summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 820d8fb68..852018627 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -278,6 +278,10 @@ ifneq ($(UCLIBC_HAS_SOCKET),y)
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/socket.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/socketvar.h
endif
+ifneq ($(UCLIBC_HAS_CRYPT),y)
+ # Remove crypt.h since libcrypt was disabled upon request
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/crypt.h
+endif
# Installs development library links.
install_dev: install_headers