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>
*** 73,88 ****
-lnsl \
-lz \
-lpam \
-lbsm \
-lwrap \
- -lcrypto \
-lgss \
-lcontract
MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
LDFLAGS += $(MAPFILES:%=-M%)
POFILE_DIR= ..
.KEEP_STATE:
.PARALLEL: $(OBJS)
--- 73,90 ----
-lnsl \
-lz \
-lpam \
-lbsm \
-lwrap \
-lgss \
-lcontract
MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
LDFLAGS += $(MAPFILES:%=-M%)
+ # libcrypto has no lint library, so we can only use it when building
+ $(PROG) := LDLIBS += -lcrypto
+
POFILE_DIR= ..
.KEEP_STATE:
.PARALLEL: $(OBJS)