NetBSD-Bugs archive

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

PR/59841 CVS commit: src/usr.bin/crunch/crunchgen



The following reply was made to PR toolchain/59841; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59841 CVS commit: src/usr.bin/crunch/crunchgen
Date: Tue, 16 Dec 2025 04:18:06 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Tue Dec 16 04:18:06 UTC 2025
 
 Modified Files:
 	src/usr.bin/crunch/crunchgen: crunchgen.c
 
 Log Message:
 crunchgen(1): Implement -L <lib-dir> option for real.
 
 Pass it through via LDADD in the generated .mk output, before any -l
 options.
 
 The original logic -- which was disabled in 2001, apparently by
 accident -- had a default libdir of /usr/lib.  But it didn't do
 anything with that string, so removing it as a default doesn't change
 anything.  But the linker doesn't need us to specify that path anyway
 (and it would really have to be -L=/usr/lib rather than -L/usr/lib,
 whereas we want -L/path/to/obj/lib/libfoo without the `=').
 
 PR toolchain/59841: crunchgen(1) ignores -L argument
 
 Will be needed for:
 
 PR lib/58648: private shared libraries should go in /usr/lib/private,
 not /usr/lib
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.96 -r1.97 src/usr.bin/crunch/crunchgen/crunchgen.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index