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/sshd/Makefile
          +++ new/usr/src/cmd/ssh/sshd/Makefile
↓ open down ↓ 67 lines elided ↑ open up ↑
  68   68  
  69   69  include ../../Makefile.cmd
  70   70  include ../Makefile.ssh-common
  71   71  
  72   72  LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket \
  73   73          -lnsl \
  74   74          -lz \
  75   75          -lpam \
  76   76          -lbsm \
  77   77          -lwrap \
  78      -        -lcrypto \
  79   78          -lgss \
  80   79          -lcontract
  81   80  MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
  82   81  LDFLAGS += $(MAPFILES:%=-M%)
       82 +
       83 +# libcrypto has no lint library, so we can only use it when building
       84 +$(PROG) := LDLIBS += -lcrypto
  83   85  
  84   86  POFILE_DIR= ..
  85   87  
  86   88  .KEEP_STATE:
  87   89  
  88   90  .PARALLEL: $(OBJS)
  89   91  
  90   92  all: $(PROG)
  91   93  
  92   94  $(PROG): $(OBJS) $(EXTOBJS) $(MAPFILES) ../libssh/$(MACH)/libssh.a \
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX