Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
unix: rename linux/core.c to linux/linux-core.c
Browse files Browse the repository at this point in the history
Newer versions of gyp do not support files with the same basenames (example:
core.c and linux/core.c).

The nominal reason is consistency across build systems. Apparently, msbuild
doesn't support it either.

Somewhere, someplace, baby Jesus cries sad little tears...

Fixes #464.
  • Loading branch information
bnoordhuis committed Jun 22, 2012
1 parent 120a4af commit e132075
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config-unix.mk
Expand Up @@ -67,7 +67,9 @@ EIO_CONFIG=config_linux.h
CSTDFLAG += -D_GNU_SOURCE
CPPFLAGS += -Isrc/ares/config_linux
LINKFLAGS+=-ldl -lrt
OBJS += src/unix/linux/core.o src/unix/linux/inotify.o src/unix/linux/syscalls.o
OBJS += src/unix/linux/linux-core.o \
src/unix/linux/inotify.o \
src/unix/linux/syscalls.o
endif

ifeq (FreeBSD,$(uname_S))
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion uv.gyp
Expand Up @@ -233,7 +233,7 @@
[ 'OS=="linux"', {
'include_dirs': [ 'src/ares/config_linux' ],
'sources': [
'src/unix/linux/core.c',
'src/unix/linux/linux-core.c',
'src/unix/linux/inotify.c',
'src/unix/linux/syscalls.c',
'src/unix/linux/syscalls.h',
Expand Down

0 comments on commit e132075

Please sign in to comment.