aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-03-30 14:29:29 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-03-30 15:30:19 +0200
commite322a16523c3c0644a900453abbe32bd0fd982e3 (patch)
tree08aca5dc6758db7909e9b80fcb00a85e7ff066cb /src/libexpr
parenteb1911e277bfcc1b161cb996205ae1696f496099 (diff)
Remove global -I flags
(cherry picked from commit 2c692a3b144523bca68dd6de618124ba6c9bb332)
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/local.mk2
-rw-r--r--src/libexpr/primops/fromTOML.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libexpr/local.mk b/src/libexpr/local.mk
index 8a9b3c2ea..a4ccab376 100644
--- a/src/libexpr/local.mk
+++ b/src/libexpr/local.mk
@@ -6,6 +6,8 @@ libexpr_DIR := $(d)
libexpr_SOURCES := $(wildcard $(d)/*.cc) $(wildcard $(d)/primops/*.cc) $(d)/lexer-tab.cc $(d)/parser-tab.cc
+libexpr_CXXFLAGS += -I src/libutil -I src/libstore -I src/libmain -I src/libexpr
+
libexpr_LIBS = libutil libstore libnixrust
libexpr_LDFLAGS =
diff --git a/src/libexpr/primops/fromTOML.cc b/src/libexpr/primops/fromTOML.cc
index a84e569e9..c43324dbb 100644
--- a/src/libexpr/primops/fromTOML.cc
+++ b/src/libexpr/primops/fromTOML.cc
@@ -1,7 +1,7 @@
#include "primops.hh"
#include "eval-inline.hh"
-#include "cpptoml/cpptoml.h"
+#include "../../cpptoml/cpptoml.h"
namespace nix {