summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-07-06 12:22:34 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-07-06 12:22:34 -0700
commit4b92cd4b185a6ec6b40dc6bb766e2aefb09d4ee5 (patch)
treea212713dd65ea3674308416e8b9869e8594c4c3b
parent2110c8cb7b30e7106551b3bf672a9dc4dc97c3b4 (diff)
downloadlibyajl2-gem-4b92cd4b185a6ec6b40dc6bb766e2aefb09d4ee5.tar.gz
remove -lcrypt for mac
-rw-r--r--ext/libyajl2/extconf.rb3
1 files changed, 2 insertions, 1 deletions
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)