diff options
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index d9f239ff8..d2590882f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -254,6 +254,12 @@ ifneq ($(UCLIBC_HAS_GLOB),y) # Remove glob header since glob support is disabled. $(RM) $(PREFIX)$(DEVEL_PREFIX)include/glob.h endif +ifneq ($(UCLIBC_HAS_GNU_GETOPT),y) +ifneq ($(UCLIBC_HAS_GETOPT_LONG),y) + # Remove getopt header since gnu getopt support is disabled. + $(RM) $(PREFIX)$(DEVEL_PREFIX)include/getopt.h +endif +endif ifneq ($(UCLIBC_HAS_SHADOW),y) # Remove shadow header since shadow password support is disabled. $(RM) $(PREFIX)$(DEVEL_PREFIX)include/shadow.h |