aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-08 13:35:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-08 13:35:59 +0200
commit7fb62d77f7178c4f63cc7af48e603d96697500d7 (patch)
treed34cce14b90fe19dc6075919d1981559a16fcf4a
parentc9949e6f3d117aa588bae12df2d348abb3c57237 (diff)
Tweak plugin installation logic
-rw-r--r--odb/buildfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/buildfile b/odb/buildfile
index 26fef37..f2b3354 100644
--- a/odb/buildfile
+++ b/odb/buildfile
@@ -11,6 +11,9 @@ plugin{*}: bin.lib.prefix = # No lib prefix.
# the driver (odb.exe) since failed that we won't be able to find libraries we
# depend on.
#
+# @@ It feels like we should also -DODB_GCC_PLUGIN_DIR when updating for
+# install (but again not for Windows).
+#
if ($cxx.target.system != 'mingw32')
plugin{*}: install = $plugin_dir
@@ -29,7 +32,7 @@ if ($cxx.target.system == 'mingw32')
libus{odb}: {hxx ixx txx cxx}{** -odb -options} {hxx ixx cxx}{options} $libs
-cxx.poptions += "-I$plugin_dir/include" -DODB_GCC_PLUGIN_DIR
+cxx.poptions += "-I$plugin_dir/include"
cxx.poptions += -DODB_BUILD2 # @@ TMP while supporting other build systems.
# Don't install any of the plugin's headers.