[Midnightbsd-cvs] [MidnightBSD/src] 23c0a5: Makefile.inc1: add missing lib/libmagic__L depende...
Lucas Holt
noreply at github.com
Mon Jun 15 13:54:27 EDT 2026
Branch: refs/heads/fix-libmagic-libz-dep-4.1
Home: https://github.com/MidnightBSD/src
Commit: 23c0a5daa7dfe7fde12888c4da27a1c04c59d5ef
https://github.com/MidnightBSD/src/commit/23c0a5daa7dfe7fde12888c4da27a1c04c59d5ef
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
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