|
@@ -24,7 +24,7 @@ CFLAGS = $(_CFLAGS) -O3
|
|
|
DBG_CFLAGS = $(_CFLAGS) -Itest -O0 -g3 -DDEBUG
|
|
|
# NOTE: -luuid is a Linux system library. Other OS's might need a different
|
|
|
# link or a non-system library built.
|
|
|
-LDFLAGS ::= -L. -L$(libdir) -llmdb -lxxhash -luuid
|
|
|
+LDFLAGS ::= -L. -L$(outdir) -L$(libdir) -llmdb -lxxhash -luuid
|
|
|
|
|
|
PARSER = bin/lemon
|
|
|
LEMON_SRC = ext/sqlite/tool/lemon.c
|
|
@@ -71,7 +71,7 @@ DOCS = docs
|
|
|
## Environment.
|
|
|
|
|
|
# Tests need the freshly compiled libs.
|
|
|
-export LD_LIBRARY_PATH = .:$(libdir)
|
|
|
+export LD_LIBRARY_PATH = $(outdir):$(libdir)
|
|
|
|
|
|
|
|
|
## Rules.
|