Jelajahi Sumber

Jan-Benedict Glaw writes:
This patch is wrong and breaks (at least) building a static libc. The
$(MISC_FNMATCH_OBJ) file still uses the .c extension, thus isn't built
at all and eg. strip'ping the .c file fails, breaking the build.

Mike Frysinger 20 tahun lalu
induk
melakukan
66376169bf
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      libc/misc/fnmatch/Makefile.in

+ 1 - 1
libc/misc/fnmatch/Makefile.in

@@ -16,7 +16,7 @@ MISC_FNMATCH_DIR:=$(top_srcdir)libc/misc/fnmatch
 MISC_FNMATCH_OUT:=$(top_builddir)libc/misc/fnmatch
 
 MISC_FNMATCH_SRC:=$(patsubst %.c,$(MISC_FNMATCH_DIR)/%.c,$(CSRC))
-MISC_FNMATCH_OBJ:=$(patsubst %.c,$(MISC_FNMATCH_OUT)/%.c,$(CSRC))
+MISC_FNMATCH_OBJ:=$(patsubst %.c,$(MISC_FNMATCH_OUT)/%.o,$(CSRC))
 
 libc-a-$(UCLIBC_HAS_FNMATCH)+=$(MISC_FNMATCH_OBJ)
 libc-so-$(UCLIBC_HAS_FNMATCH)+=$(MISC_FNMATCH_OBJ:.o=.os)