From 4b92cd4b185a6ec6b40dc6bb766e2aefb09d4ee5 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Sun, 6 Jul 2014 12:22:34 -0700 Subject: remove -lcrypt for mac --- ext/libyajl2/extconf.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb index 378bca7..462a33b 100644 --- a/ext/libyajl2/extconf.rb +++ b/ext/libyajl2/extconf.rb @@ -66,7 +66,8 @@ TARGET = libyajl DLLIB = $(TARGET).so CFLAGS = -I. -I../../../../ext/libyajl2 -fPIC -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC -std=c99 -pedantic -Wpointer-arith -Wno-format-y2k -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wextra -Wundef -Wwrite-strings -Wold-style-definition -Wredundant-decls -Wno-unused-parameter -Wno-sign-compare -Wmissing-prototypes -O2 -DNDEBUG LDFLAGS = -L. -fstack-protector -rdynamic -LIBS = -lpthread -ldl -lcrypt -lm -lc +#LIBS = -lpthread -ldl -lcrypt -lm -lc +LIBS = -lpthread -ldl -lm -lc OBJS = yajl_alloc.o yajl_tree.o yajl_gen.o yajl_buf.o yajl.o yajl_encode.o yajl_lex.o yajl_parser.o yajl_version.o all: $(DLLIB) -- cgit v1.2.1