[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH v2] util: use host module suffix when loading drivers



On Tue, Aug 25, 2020 at 04:47:07PM -0700, Scott Shambarger wrote:
> Driver module loaders current hardcode ".so" as the file
> extension.  On MacOS, meson uses ".dylib" as a module file extension.
> This patch adds VIR_FILE_MODULE_EXT to virfile.h defined as the
> hosts module extension, and updates driver module loaders to make
> use of it.
> 
> Signed-off-by: Scott Shambarger <scott-libvirt shambarger net>
> ---
>  src/driver.c                     | 2 +-
>  src/locking/lock_manager.c       | 2 +-
>  src/storage/storage_backend.c    | 2 +-
>  src/util/virfile.h               | 6 ++++++
>  src/util/virstoragefilebackend.c | 2 +-
>  5 files changed, 10 insertions(+), 4 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina redhat com>

And pushed.

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]