Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0
Reviewed by Keith Wesolowski <keith.wesolowski@joyent.com>
Reviewed by Alexander Eremin <alexander.eremin@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ssh/sftp-server/Makefile
          +++ new/usr/src/cmd/ssh/sftp-server/Makefile
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  # cmd/ssh/sftp-server/Makefile
  25   25  
  26   26  PROG =          sftp-server
  27   27  
  28   28  OBJS =          sftp-server.o sftp-server-main.o
  29   29  SRCS =          $(OBJS:.o=.c)
  30   30  
  31   31  include ../../Makefile.cmd
  32   32  include ../Makefile.ssh-common
  33   33  
  34      -LDLIBS +=       $(SSH_COMMON_LDLIBS) -lsocket -lcrypto
       34 +LDLIBS +=       $(SSH_COMMON_LDLIBS) -lsocket
       35 +
       36 +# libcrypto has no lint library, so we can only use it when building
       37 +$(PROG) :=      LDLIBS += -lcrypto
  35   38  
  36   39  POFILE_DIR =    ..
  37   40  
  38   41  .KEEP_STATE:
  39   42  
  40   43  .PARALLEL:      $(OBJS)
  41   44  
  42   45  all:            $(PROG)
  43   46  
  44   47  $(PROG):        $(OBJS) ../libssh/$(MACH)/libssh.a ../libopenbsd-compat/$(MACH)/libopenbsd-compat.a
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX