aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-23 23:53:41 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-23 23:53:41 +0000
commit2bd0fcc9663211cc480f61dc9e05f43ac9ecca69 (patch)
treeb5eb31148f520349e8c1ec6635b3714c18116e9b /src/libstore
parentf267ff16b4527ca6c083014b93b4568d89221f49 (diff)
Use libnix as a prefix for all Nix libraries
In particular "libutil" was always a problem because it collides with Glibc's libutil. Even if we install into $(libdir)/nix, the linker sometimes got confused (e.g. if a program links against libstore but not libutil, then ld would report undefined symbols in libstore because it was looking at Glibc's libutil).
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/Makefile.new2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/Makefile.new b/src/libstore/Makefile.new
index 7d542d312..eaba1005f 100644
--- a/src/libstore/Makefile.new
+++ b/src/libstore/Makefile.new
@@ -1,5 +1,7 @@
LIBS += libstore
+libstore_NAME = libnixstore
+
libstore_DIR := $(d)
libstore_SOURCES = \