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).
This commit is contained in:
parent
f267ff16b4
commit
2bd0fcc966
5 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue