forgot to update this patch as part of the riak 2.1.4 update

This commit is contained in:
jmatthew 2016-05-15 06:44:21 +00:00
parent 92a6e55dfb
commit 214b90483b

View File

@ -1,14 +1,14 @@
$OpenBSD: patch-deps_eleveldb_rebar_config,v 1.5 2015/01/16 04:42:13 jmatthew Exp $
$OpenBSD: patch-deps_eleveldb_rebar_config,v 1.6 2016/05/15 06:44:21 jmatthew Exp $
link in libsnappy from its build tree rather than the installed location,
since running make install is problematic.
--- deps/eleveldb/rebar.config.orig Thu Nov 6 05:41:07 2014
+++ deps/eleveldb/rebar.config Wed Jan 7 19:27:23 2015
--- deps/eleveldb/rebar.config.orig Wed Apr 13 00:46:02 2016
+++ deps/eleveldb/rebar.config Wed May 11 11:45:43 2016
@@ -17,7 +17,7 @@
{"CFLAGS", "$CFLAGS -Wall -O3 -fPIC"},
{"CXXFLAGS", "$CXXFLAGS -Wall -O3 -fPIC"},
{"DRV_CFLAGS", "$DRV_CFLAGS -O3 -Wall -I c_src/leveldb/include"},
{"DRV_CFLAGS", "$DRV_CFLAGS -O3 -Wall -I c_src/leveldb/include -I c_src/leveldb -I c_src/system/include"},
- {"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/leveldb/libleveldb.a c_src/system/lib/libsnappy.a -lstdc++"}
+ {"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/leveldb/libleveldb.a c_src/snappy-${SNAPPY_V}/.libs/libsnappy.a -lstdc++"}
]}.