[Bug 14201] New: busybox wants to link against -lcrypt when CONFIG_USE_BB_CRYPT=y is set

bugzilla at busybox.net bugzilla at busybox.net
Sun Sep 5 11:20:08 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=14201

            Bug ID: 14201
           Summary: busybox wants to link against -lcrypt when
                    CONFIG_USE_BB_CRYPT=y is set
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: marvin_schmidt at gmx.net
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 9091
  --> https://bugs.busybox.net/attachment.cgi?id=9091&action=edit
proposed patched

The logic in `Makefile.flags` wants to link against the crypt library
unconditionally if it's available, even when the config sets
CONFIG_USE_BB_CRYPT=y and no functionally from libcrypt is used.

The attached patch encloses the libcrypt check in a `ifneq
($(CONFIG_USE_BB_CRYPT),y)` condition so it's only executed when
`CONFIG_USE_BB_CRYPT` isn't enabled

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list