From 2bd0fcc9663211cc480f61dc9e05f43ac9ecca69 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 23 Nov 2013 23:53:41 +0000 Subject: 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). --- src/libmain/Makefile.new | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libmain') 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 -- cgit v1.2.3