Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ssh/ssh/Makefile
          +++ new/usr/src/cmd/ssh/ssh/Makefile
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33            clientloop.o \
  34   34            gss-clnt.o
  35   35  SRCS    = $(OBJS:.o=.c)
  36   36  
  37   37  include ../../Makefile.cmd
  38   38  include ../Makefile.ssh-common
  39   39  
  40   40  LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket \
  41   41          -lnsl \
  42   42          -lz \
  43      -        -lcrypto \
  44   43          -lgss
       44 +
       45 +# libcrypto has no lint library, so we can only use it when building
       46 +$(PROG) := LDLIBS += -lcrypto
  45   47  
  46   48  POFILE_DIR= ..
  47   49  
  48   50  .KEEP_STATE:
  49   51  
  50   52  .PARALLEL: $(OBJS)
  51   53  
  52   54  all: $(PROG)
  53   55  
  54   56  $(PROG): $(OBJS) ../libssh/$(MACH)/libssh.a ../libopenbsd-compat/$(MACH)/libopenbsd-compat.a
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX