aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-30 16:31:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-30 16:31:13 +0200
commitff4a3f92d72c4cdbbc77276268753bc55bcf67df (patch)
treee1793281b0d61e13fe53087eff05eeb0335a08c8
parent6f8b428413d73ee9aac86e282e20358933b3f840 (diff)
Don't try to depend on installed cli executable
-rw-r--r--odb/mssql/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/mssql/makefile b/odb/mssql/makefile
index 5d148ac..011742a 100644
--- a/odb/mssql/makefile
+++ b/odb/mssql/makefile
@@ -63,7 +63,12 @@ $(cxx_obj) $(cxx_od): $(odb_mssql.l.cpp-options) $(out_base)/details/config.h
genf := $(cli_tun:.cli=.hxx) $(cli_tun:.cli=.ixx) $(cli_tun:.cli=.cxx)
gen := $(addprefix $(out_base)/,$(genf))
+# Don't try to depend on the installed executable.
+#
+ifneq ($(cli),cli)
$(gen): $(cli)
+endif
+
$(gen): cli := $(cli)
$(gen): cli_options += \
--long-usage \