summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-07-06 11:16:14 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-07-06 11:16:14 -0700
commit901bb63ddb4cd8efac76cf6f7ee6a0b60fa25e32 (patch)
tree0f69cdec17db7a291f65e98150932ec7442a1f54
parentd863548d9992395e2f84efd13f8aaa41b1d6d7bd (diff)
downloadlibyajl2-gem-901bb63ddb4cd8efac76cf6f7ee6a0b60fa25e32.tar.gz
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.
-rw-r--r--ext/libyajl2/extconf.rb2
1 files changed, 1 insertions, 1 deletions
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