aboutsummaryrefslogtreecommitdiffstats
path: root/mk/config.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mk/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/config.mk b/mk/config.mk
index 25e50b8..f33f469 100644
--- a/mk/config.mk
+++ b/mk/config.mk
@@ -53,7 +53,11 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self \
STD = gnu99
# Libraries linking flags.
+ifneq ($(LIBMDSSERVER_IS_INSTALLED),y)
LDS = -pthread -Lbin -lmdsserver -lrt
+else
+LDS = -pthread -lmdsserver -lrt
+endif
# C compiler debug flags.
DEBUG_FLAGS =