aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcmd/local.mk')
-rw-r--r--src/libcmd/local.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libcmd/local.mk b/src/libcmd/local.mk
index 7a2f83cc7..a12837ce5 100644
--- a/src/libcmd/local.mk
+++ b/src/libcmd/local.mk
@@ -6,10 +6,12 @@ libcmd_DIR := $(d)
libcmd_SOURCES := $(wildcard $(d)/*.cc)
-libcmd_CXXFLAGS += -I src/libutil -I src/libstore -I src/libexpr -I src/libmain -I src/libfetchers
+libcmd_CXXFLAGS += -I src/libutil -I src/libstore -I src/libexpr -I src/libmain -I src/libfetchers -I src/nix
-libcmd_LDFLAGS += $(LOWDOWN_LIBS) -pthread
+# libcmd_LDFLAGS += -llowdown -pthread
+libcmd_LDFLAGS = $(EDITLINE_LIBS) -llowdown -pthread
+# libcmd_LDFLAGS += $(LOWDOWN_LIBS) -pthread
-libcmd_LIBS = libstore libutil libexpr libmain libfetchers
+libcmd_LIBS = libstore libutil libexpr libmain libfetchers libnix
$(eval $(call install-file-in, $(d)/nix-cmd.pc, $(libdir)/pkgconfig, 0644))