about summary refs log tree commit diff
path: root/src/nix-hash
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-hash')
-rw-r--r--src/nix-hash/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-hash/Makefile.am b/src/nix-hash/Makefile.am
index 00bf6afd6e28..7906285fe23f 100644
--- a/src/nix-hash/Makefile.am
+++ b/src/nix-hash/Makefile.am
@@ -2,7 +2,7 @@ bin_PROGRAMS = nix-hash
 
 nix_hash_SOURCES = nix-hash.cc help.txt
 nix_hash_LDADD = ../libmain/libmain.a ../libstore/libstore.a ../libutil/libutil.a \
- ../boost/format/libformat.a -L../../externals/inst/lib -ldb_cxx -lATerm
+ ../boost/format/libformat.a ${bdb_lib} ${aterm_lib}
 
 nix-hash.o: help.txt.hh