about summary refs log tree commit diff
path: root/src/libutil/Makefile.new
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-23T23·53+0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-23T23·53+0000
commit2bd0fcc9663211cc480f61dc9e05f43ac9ecca69 (patch)
treeb5eb31148f520349e8c1ec6635b3714c18116e9b /src/libutil/Makefile.new
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/libutil/Makefile.new')
-rw-r--r--src/libutil/Makefile.new2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/Makefile.new b/src/libutil/Makefile.new
index 59670d2ce0b0..b604c0078709 100644
--- a/src/libutil/Makefile.new
+++ b/src/libutil/Makefile.new
@@ -1,5 +1,7 @@
 LIBS += libutil
 
+libutil_NAME = libnixutil
+
 libutil_DIR := $(d)
 
 libutil_SOURCES = util.cc hash.cc serialise.cc archive.cc xml-writer.cc affinity.cc