about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04T15·12+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04T15·12+0000
commitaab88127321344d5818d823bff515d127108d058 (patch)
tree3c9667bae7e3d2376f140abc35d6e810013d44b0
parent7974aae81ced67b2aee0b537a37d813f6c67a1ec (diff)
* Store the Nix libraries in ${libdir}/nix instead of ${libdir}.
-rw-r--r--configure.ac1
-rw-r--r--src/boost/format/Makefile.am2
-rw-r--r--src/libexpr/Makefile.am2
-rw-r--r--src/libmain/Makefile.am2
-rw-r--r--src/libstore/Makefile.am2
-rw-r--r--src/libutil/Makefile.am2
6 files changed, 6 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index b14fa7e0864a..add3a5bc1728 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,6 +75,7 @@ AC_PROG_CXX
 
 # We are going to use libtool.
 AC_DISABLE_STATIC
+AC_ENABLE_SHARED
 AC_PROG_LIBTOOL
 
 
diff --git a/src/boost/format/Makefile.am b/src/boost/format/Makefile.am
index eb4d7dee82d5..39bc6fe07e79 100644
--- a/src/boost/format/Makefile.am
+++ b/src/boost/format/Makefile.am
@@ -1,4 +1,4 @@
-lib_LTLIBRARIES = libformat.la
+pkglib_LTLIBRARIES = libformat.la
 
 libformat_la_SOURCES = format_implementation.cc free_funcs.cc \
  parsing.cc exceptions.hpp feed_args.hpp format_class.hpp \
diff --git a/src/libexpr/Makefile.am b/src/libexpr/Makefile.am
index 81c851fb0037..f0850425994f 100644
--- a/src/libexpr/Makefile.am
+++ b/src/libexpr/Makefile.am
@@ -1,4 +1,4 @@
-lib_LTLIBRARIES = libexpr.la
+pkglib_LTLIBRARIES = libexpr.la
 
 libexpr_la_SOURCES = nixexpr.cc nixexpr.hh parser.cc parser.hh \
  eval.cc eval.hh primops.cc \
diff --git a/src/libmain/Makefile.am b/src/libmain/Makefile.am
index ebf64a2fb92a..7df4f4b0578d 100644
--- a/src/libmain/Makefile.am
+++ b/src/libmain/Makefile.am
@@ -1,4 +1,4 @@
-lib_LTLIBRARIES = libmain.la
+pkglib_LTLIBRARIES = libmain.la
 
 libmain_la_SOURCES = shared.cc shared.hh
 
diff --git a/src/libstore/Makefile.am b/src/libstore/Makefile.am
index c79830d8ae97..3730ae5b2de1 100644
--- a/src/libstore/Makefile.am
+++ b/src/libstore/Makefile.am
@@ -1,4 +1,4 @@
-lib_LTLIBRARIES = libstore.la
+pkglib_LTLIBRARIES = libstore.la
 
 libstore_la_SOURCES = \
  store.cc store.hh derivations.cc derivations.hh \
diff --git a/src/libutil/Makefile.am b/src/libutil/Makefile.am
index 513d8ecf5eb8..7798ac2bb1ca 100644
--- a/src/libutil/Makefile.am
+++ b/src/libutil/Makefile.am
@@ -1,4 +1,4 @@
-lib_LTLIBRARIES = libutil.la
+pkglib_LTLIBRARIES = libutil.la
 
 libutil_la_SOURCES = util.cc util.hh hash.cc hash.hh \
  archive.cc archive.hh aterm.cc aterm.hh \