Re: [PATCH 05/11] tests: Remove -module flag for mocks

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

 



On Wed, Aug 21, 2019 at 07:13:17PM +0300, Roman Bolshakov wrote:
> macOS has two kinds of loadable libraries: MH_BUNDLE, and MH_DYLIB.
> bundle is used for plugins that are loaded with dlopen/dlsym/dlclose.
> And there's no way to preload a bundle into an application. dynamic
> linker (dyld) will reject it when finds it in DYLD_INSERT_LIBRARIES.
> 
> Unfortunately, a bundle is built if -module flag is provided to libtool.
> The flag has been removed to build dylibs with ".dylib" suffix.
> 
> Signed-off-by: Roman Bolshakov <r.bolshakov@xxxxxxxxx>
> ---
>  tests/Makefile.am | 2 +-
>  tests/testutils.h | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux