1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 21:51:50 +02:00

Allow (dynamic) libraries to depend on other libraries

This commit is contained in:
Eelco Dolstra 2013-11-23 20:11:02 +00:00
parent 14772783e6
commit 90dfb37f14
5 changed files with 17 additions and 8 deletions

View file

@ -7,6 +7,8 @@ libexpr_SOURCES = \
get-drvs.cc attr-path.cc value-to-xml.cc value-to-json.cc \
common-opts.cc names.cc
libexpr_LIBS = libutil libstore libformat
$(d)/parser-tab.cc $(d)/parser-tab.hh: $(d)/parser.y
bison -v -o $(libexpr_DIR)/parser-tab.cc $< -d

View file

@ -4,4 +4,6 @@ libmain_DIR := $(d)
libmain_SOURCES = shared.cc stack.cc
libmain_LIBS = libstore libutil libformat
libmain_LDFLAGS_PROPAGATED = $(BDW_GC_LIBS)

View file

@ -6,6 +6,8 @@ libstore_SOURCES = \
store-api.cc local-store.cc remote-store.cc derivations.cc build.cc misc.cc \
globals.cc references.cc pathlocks.cc gc.cc optimise-store.cc
libstore_LIBS = libutil libformat
libstore_LDFLAGS = -lsqlite3 -lbz2
libstore_CXXFLAGS = \

View file

@ -10,4 +10,4 @@ else
libutil_SOURCES += md5.c sha1.c sha256.c
endif
libutil_LIBS = src/boost/format/libformat
libutil_LIBS = libformat