summaryrefslogtreecommitdiff
path: root/odb/odb.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-06-25 14:43:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-06-25 14:43:27 +0200
commit0353fc1c717d9bf1c0a6d082dcc8cbd549214d01 (patch)
tree366e9e2034597fd0e8f00183e3364b959df2397e /odb/odb.cxx
parente05d21cee582ab6c66229f111df7c1b3430e93f4 (diff)
Various Mac OS-related fixes
Diffstat (limited to 'odb/odb.cxx')
-rw-r--r--odb/odb.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/odb/odb.cxx b/odb/odb.cxx
index 28c4558..5160985 100644
--- a/odb/odb.cxx
+++ b/odb/odb.cxx
@@ -1517,9 +1517,12 @@ plugin_path (path const& drv,
{
#ifdef _WIN32
char const plugin_ext[] = ".dll";
-//@@ BUILD2: not clear how it works currently with build/autotools. Also
-// note that GCC currently uses the .so extension on Mac OS.
-//#elif defined(__APPLE__)
+
+// While GCC 8 switched to using .dylib as the plugin extension, there is a
+// bug in the extension stripping code. So for now we use the .so extension
+// everywhere (see also buildfile if changing this).
+//
+//#elif defined(__APPLE__) && defined(ODB_BUILD2)
// char const plugin_ext[] = ".dylib";
#else
char const plugin_ext[] = ".so";