Skip to content
Permalink
Browse files

fix plugin suffix for OpenBSD and NetBSD

  • Loading branch information
msuchard committed Jan 4, 2020
1 parent 8cecace commit a05c94fd5746a29722633f380172a20583787982
Showing with 8 additions and 0 deletions.
  1. +4 −0 libhmsbeagle/plugin/LibtoolSharedLibrary.h
  2. +4 −0 libhmsbeagle/plugin/UnixSharedLibrary.h
@@ -49,6 +49,10 @@ UnixSharedLibrary::UnixSharedLibrary(const char* name)
libname += ".";
libname += PLUGIN_VERSION;
libname += ".so";
#elif defined(__OpenBSD__) || defined(__NetBSD__)
libname += ".so.";
libname += PLUGIN_VERSION;
libname += ".0";
#else
libname += ".so.";
libname += PLUGIN_VERSION;
@@ -44,6 +44,10 @@ UnixSharedLibrary::UnixSharedLibrary(const char* name)
libname += ".";
libname += PLUGIN_VERSION;
libname += ".so";
#elif defined(__OpenBSD__) || defined(__NetBSD__)
libname += ".so.";
libname += PLUGIN_VERSION;
libname += ".0";
#else
libname += ".so.";
libname += PLUGIN_VERSION;

0 comments on commit a05c94f

Please sign in to comment.
You can’t perform that action at this time.