From 901bb63ddb4cd8efac76cf6f7ee6a0b60fa25e32 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Sun, 6 Jul 2014 11:16:14 -0700 Subject: shouldn't need -export-dynamic and fails on MacOSX we're not creating a real ruby library, so don't need to worry about eporting the Init function by default. --- ext/libyajl2/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb index 0f2325a..dd951cf 100644 --- a/ext/libyajl2/extconf.rb +++ b/ext/libyajl2/extconf.rb @@ -52,7 +52,7 @@ CC = gcc 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 -Wl,-export-dynamic +LDFLAGS = -L. -fstack-protector -rdynamic LIBS = -lpthread -ldl -lcrypt -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 -- cgit v1.2.1