Browse files

Fix build for OSX

  • Loading branch information...
1 parent 5d0af30 commit fc4f2ebb94b752c201521fe8f009243df7b5e7bf @creationix committed Jun 8, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 Makefile
View
5 Makefile
@@ -8,12 +8,15 @@ OS_NAME=$(shell uname -s)
ifeq (${OS_NAME},Linux)
LDFLAGS+= -lrt
endif
+ifeq (${OS_NAME},Darwin)
+LDFLAGS+= -framework CoreServices
+endif
# verbose build
export Q=
MAKEFLAGS+=-e
-DEPS=${CANDIR}/candor.a \
+DEPS=${CANDIR}/libcandor.a \
${HTTPDIR}/http_parser.o \
${UVDIR}/uv.a

0 comments on commit fc4f2eb

Please sign in to comment.