From 7fb62d77f7178c4f63cc7af48e603d96697500d7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 May 2018 13:35:59 +0200 Subject: Tweak plugin installation logic --- odb/buildfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. -- cgit v1.1