Source-Changes archive

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

CVS commit: [netbsd-11] src/usr.bin/crunch/crunchgen



Module Name:    src
Committed By:   martin
Date:           Thu Jan 22 19:33:54 UTC 2026

Modified Files:
        src/usr.bin/crunch/crunchgen [netbsd-11]: crunchgen.c

Log Message:
Pull up following revision(s) (requested by snj in ticket #149):

        usr.bin/crunch/crunchgen/crunchgen.c: revision 1.97

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.96.4.1 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