aboutsummaryrefslogtreecommitdiff
path: root/src/libmain
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/libmain
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')
-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 2ead94ca6..7312b8d2c 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