about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/boost/Makefile.am2
-rw-r--r--src/libmain/Makefile.am6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/boost/Makefile.am b/src/boost/Makefile.am
index c149c13f73b2..8b5aa25fb5bd 100644
--- a/src/boost/Makefile.am
+++ b/src/boost/Makefile.am
@@ -1,6 +1,6 @@
 SUBDIRS = format
 
-pkginclude_HEADERS = assert.hpp checked_delete.hpp format.hpp \
+nobase_pkginclude_HEADERS = assert.hpp checked_delete.hpp format.hpp \
  shared_ptr.hpp weak_ptr.hpp throw_exception.hpp \
  enable_shared_from_this.hpp \
  detail/shared_count.hpp detail/workaround.hpp
diff --git a/src/libmain/Makefile.am b/src/libmain/Makefile.am
index e5d199e2c5d7..c2946febce34 100644
--- a/src/libmain/Makefile.am
+++ b/src/libmain/Makefile.am
@@ -1,6 +1,10 @@
 pkglib_LTLIBRARIES = libmain.la
 
-libmain_la_SOURCES = shared.cc shared.hh
+libmain_la_SOURCES = shared.cc
+
+libmain_la_LIBADD = ../libstore/libstore.la
+
+pkginclude_HEADERS = shared.hh
 
 AM_CXXFLAGS = \
  -DNIX_STORE_DIR=\"$(storedir)\" \