Drop the dependency on libgc in libmain

Instead, libexpr now depends on libgc.  This means commands like
nix-store that don't do any evaluation no longer require libgc.
This commit is contained in:
Eelco Dolstra 2013-11-23 20:19:36 +00:00
parent 06a8ac96e7
commit 5a1114ecdb
4 changed files with 22 additions and 22 deletions

View file

@ -9,6 +9,11 @@ libexpr_SOURCES = \
libexpr_LIBS = libutil libstore libformat
# The dependency on libgc must be propagated (i.e. meaning that
# programs/libraries that use libexpr must explicitly pass -lgc),
# because inline functions in libexpr's header files call libgc.
libexpr_LDFLAGS_PROPAGATED = $(BDW_GC_LIBS)
$(d)/parser-tab.cc $(d)/parser-tab.hh: $(d)/parser.y
bison -v -o $(libexpr_DIR)/parser-tab.cc $< -d