Print this page
don't pass in lint libraries which no longer exist

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