about summary refs log tree commit diff
path: root/src/libmain/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/libmain/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/libmain/Makefile.new')
-rw-r--r--src/libmain/Makefile.new2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmain/Makefile.new b/src/libmain/Makefile.new
index 2ead94ca6bb2..7312b8d2cd26 100644
--- a/src/libmain/Makefile.new
+++ b/src/libmain/Makefile.new
@@ -1,5 +1,7 @@
 LIBS += libmain
 
+libmain_NAME = libnixmain
+
 libmain_DIR := $(d)
 
 libmain_SOURCES = shared.cc stack.cc