aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/local.mk')
-rw-r--r--src/libexpr/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/local.mk b/src/libexpr/local.mk
index c40abfb78..1aed8e152 100644
--- a/src/libexpr/local.mk
+++ b/src/libexpr/local.mk
@@ -16,7 +16,7 @@ libexpr_CXXFLAGS += -I src/libutil -I src/libstore -I src/libfetchers -I src/lib
libexpr_LIBS = libutil libstore libfetchers
libexpr_LDFLAGS = -lboost_context
-ifeq ($(OS), Linux)
+ifdef HOST_LINUX
libexpr_LDFLAGS += -ldl
endif