about summary refs log tree commit diff
path: root/src/libexpr/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/libexpr/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/libexpr/Makefile.new')
-rw-r--r--src/libexpr/Makefile.new2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/Makefile.new b/src/libexpr/Makefile.new
index cbae11c53c..c6ed7d14b9 100644
--- a/src/libexpr/Makefile.new
+++ b/src/libexpr/Makefile.new
@@ -1,5 +1,7 @@
 LIBS += libexpr
 
+libexpr_NAME = libnixexpr
+
 libexpr_DIR := $(d)
 
 libexpr_SOURCES = \