diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-12 16:00:08 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-12 16:00:08 +0200 |
commit | d9ab548a6cd684827afc5e8f8555c4b2a35d2aa6 (patch) | |
tree | 54df4df84b929ec9106a982ba29c1beac023767c /mk/config.mk | |
parent | typo (diff) | |
download | mds-d9ab548a6cd684827afc5e8f8555c4b2a35d2aa6.tar.gz mds-d9ab548a6cd684827afc5e8f8555c4b2a35d2aa6.tar.bz2 mds-d9ab548a6cd684827afc5e8f8555c4b2a35d2aa6.tar.xz |
make it possible to compile the servers without compiling libmdsserver if you already have libmdsserver installed
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'mk/config.mk')
-rw-r--r-- | mk/config.mk | 4 |
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 = |