[GH-ISSUE #606] AC: Separate LDFLAGS for targets that need them. #276

Closed
opened 2026-10-14 02:59:33 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @magnumripper on GitHub (May 27, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/606

Similar to #604 we should not link eg. SIPdump and mkvcalcproba with the NSS/NSPR stuff and so on. Nor with OpenSSL.

So instead of adding the result of eg. PKG_CHECK_MODULES to the global LIBS (LDFLAGS), we should keep it in eg. NSS_LIBS, and add @NSS_LIBS@ at appropriate places in Makefile.in (the ../run/john@EXE_EXT@: target only, in this case).

Not sure if PKG_CHECK_MODULES supports this without some backup/restore hack.

Originally created by @magnumripper on GitHub (May 27, 2014). Original GitHub issue: https://github.com/openwall/john/issues/606 Similar to #604 we should not link eg. SIPdump and mkvcalcproba with the NSS/NSPR stuff and so on. Nor with OpenSSL. So instead of adding the result of eg. PKG_CHECK_MODULES to the global LIBS (LDFLAGS), we should keep it in eg. NSS_LIBS, and add @NSS_LIBS@ at appropriate places in Makefile.in (the `../run/john@EXE_EXT@:` target only, in this case). Not sure if PKG_CHECK_MODULES supports this without some backup/restore hack.
bsakaguchi 2026-10-14 02:59:33 +07:00
Author
Owner

@magnumripper commented on GitHub (May 27, 2014):

I see now configure.ac needs no change, this is just a Makefile.in fix. Will do this and test it.

<!-- gh-comment-id:44347092 --> @magnumripper commented on GitHub (May 27, 2014): I see now configure.ac needs no change, this is just a Makefile.in fix. Will do this and test it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#276
No description provided.