• Show log

    Commit

  • Hash : e7cf8c57
    Author : Guillem Jover
    Date : 2021-11-28T22:44:08

    Switch md5 compatibility logic back to direct linking When using the recent dlsym() based wrapper, we are not requiring any symbol from libmd, as we resolve those dynamically at run-time. We were ending up linking against libmd because in another part of the code we require (depending on the architecture) the SHA512 functions for the getentropy() local implementation. But that function might be provided by the system libc on some systems, which means we end up not linking against libmd at all. To solve this we go back to the previous simpler solution of linking directly, which had the main drawback of then making programs fail to link when not specifying -lmd (on platforms that need it). And then switch the .so link point from a symlink to a linker script, so that we can inject the -lmd library as-needed. This is similar to what glibc is doing. Fixes: commit 31f034e3862debda8615a449b1c11c4d6920dcc7

  • README

  • libbsd - Utility functions from BSD systems
    
    This library provides useful functions commonly found on BSD systems,
    and lacking on others like GNU systems, thus making it easier to port
    projects with strong BSD origins, without needing to embed the same
    code over and over again on each project.
    
    A BSD compatible message-digest library is required, on systems where
    this is not provided by its libc or libmd libraries, the canonical
    implementation to use is <https://www.hadrons.org/software/libmd/>.
    
    Releases
    --------
    
      <https://libbsd.freedesktop.org/releases/>
    
    
    Mailing List
    ------------
    
    The subscription interface and web archives can be found at:
    
      <https://lists.freedesktop.org/mailman/listinfo/libbsd>
    
    The mail address is:
    
      libbsd@lists.freedesktop.org
    
    
    Source Repository
    -----------------
    
    The master repository can be browsed at:
    
      <https://cgit.freedesktop.org/libbsd>
    
    and cloned from:
    
      <https://anongit.freedesktop.org/git/libbsd>