Skip to content
100644 15 lines (10 sloc) 487 Bytes
5b4414b @dizzyd Rename to eleveldb to simplify configuration usage in embedded enviro…
dizzyd authored
1 {so_name, ""}.
d4086ef @dizzyd Initial commit
dizzyd authored
3 {port_sources, ["c_src/*.cc"]}.
5 {port_envs, [
daf5acc @dizzyd Use -fPIC when compiling leveldb
dizzyd authored
6 %% Make sure to set -fPIC when compiling leveldb
7 {"CFLAGS", "$CFLAGS -fPIC"},
d4086ef @dizzyd Initial commit
dizzyd authored
8 {"DRV_CFLAGS", "$DRV_CFLAGS -Werror -I c_src/leveldb/include"},
5e1a4c5 @dizzyd Add snappy support
dizzyd authored
9 {"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/leveldb/libleveldb.a c_src/system/lib/libsnappy.a -lstdc++"}
d4086ef @dizzyd Initial commit
dizzyd authored
10 ]}.
b1dcfbc @dizzyd Add hooks to build leveldb subtree
dizzyd authored
3a60750 @jaredmorrow Remove eunit pre-hook to fix toplevel riak builds
jaredmorrow authored
12 {pre_hooks, [{compile, "c_src/"}]}.
f0b9692 @dizzyd Remove embedded subtree of level in favor of traditional tarball; mai…
dizzyd authored
14 {post_hooks, [{clean, "c_src/ clean"}]}.
Something went wrong with that request. Please try again.