[Midnightbsd-cvs] [MidnightBSD/src] dabd7b: Makefile.inc1: add missing lib/libmagic__L depende...

Lucas Holt noreply at github.com
Mon Jun 15 13:55:49 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: dabd7b49bce07fe3a60aa41c365ecf832dbb46a1
      https://github.com/MidnightBSD/src/commit/dabd7b49bce07fe3a60aa41c365ecf832dbb46a1
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-15 (Mon, 15 Jun 2026)

  Changed paths:
    M Makefile.inc1

  Log Message:
  -----------
  Makefile.inc1: add missing lib/libmagic__L dependency on lib/libz__L (#401)

libmagic links against -lz (LIBADD= z in lib/libmagic/Makefile) but
Makefile.inc1 had no explicit lib/libmagic__L: lib/libz__L dependency.
Under high parallelism (e.g. make -j28) libmagic could begin linking
before libz was installed into the sysroot, producing:

  ld: error: unable to find library -lz
  *** [libmagic.so.4.full] Error code 1

All other libraries that link libz already have this dependency
declared (libarchive, libssh, libzfs, libsqlite3, etc).

Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list