Skip to content
  • Moritz Angermann's avatar
    29d24d10
    Disable DLL loading if without system linker · 29d24d10
    Moritz Angermann authored and Ben Gamari's avatar Ben Gamari committed
    Some platforms (musl, aarch64) do not have a working dynamic linker
    implemented in the libc, even though we might see dlopen.  It will
    ultimately just return that this is not supported.  Hence we'll add
    a flag to the compiler to flat our disable loading dlls.  This is
    needed as we will otherwise try to load the shared library even
    if this will subsequently fail.  At that point we have given up
    looking for static options though.
    
    (cherry picked from commit aef523ea)
    29d24d10
    Disable DLL loading if without system linker
    Moritz Angermann authored and Ben Gamari's avatar Ben Gamari committed
    Some platforms (musl, aarch64) do not have a working dynamic linker
    implemented in the libc, even though we might see dlopen.  It will
    ultimately just return that this is not supported.  Hence we'll add
    a flag to the compiler to flat our disable loading dlls.  This is
    needed as we will otherwise try to load the shared library even
    if this will subsequently fail.  At that point we have given up
    looking for static options though.
    
    (cherry picked from commit aef523ea)
Loading