Commit 46329ad7 authored by Samuel K. Gutierrez's avatar Samuel K. Gutierrez
Browse files

Fix bad link ref. when system leveldb exists v2.

Take II, folks.

This commit fixes a link-time issue that comes about when an
incompatible system-level leveldb is already installed. The problem is
that leveldb isn't listed as a dependency, so link-time -lleveldbs
aren't preceded by -L{prefix to the leveldb I actually want}/lib, so
when a potentially incompatible system-level leveldb exists, then bad
things happen.

@brobey you might be interested in this.
parent 4766f0b7
......@@ -71,6 +71,7 @@ if BUILD_LEVELDB
lib_libsdskv_server_la_SOURCES += src/datastore/leveldb_datastore.cc
endif
lib_libsdskv_server_la_LIBADD = ${SERVER_LIBS}
include_HEADERS = include/sdskv-client.h \
include/sdskv-server.h \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment