Skip to content
Newer
Older
100644 15 lines (10 sloc) 487 Bytes
5b4414b @dizzyd Rename to eleveldb to simplify configuration usage in embedded enviro…
dizzyd authored
1 {so_name, "eleveldb.so"}.
d4086ef @dizzyd Initial commit
dizzyd authored
2
3 {port_sources, ["c_src/*.cc"]}.
4
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
11
3a60750 @jaredmorrow Remove eunit pre-hook to fix toplevel riak builds
jaredmorrow authored
12 {pre_hooks, [{compile, "c_src/build_deps.sh"}]}.
f0b9692 @dizzyd Remove embedded subtree of level in favor of traditional tarball; mai…
dizzyd authored
13
14 {post_hooks, [{clean, "c_src/build_deps.sh clean"}]}.
Something went wrong with that request. Please try again.