Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Fix linking with OpenSSL

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:25

Alexey Dobriyan [off-list ref] writes:
quoted hunk
For those who put it into interesting (read: default) place.

Signed-off-by: Alexey Dobriyan <redacted>
--- a/Makefile
+++ b/Makefile
@@ -559,7 +559,7 @@ git-http-push$X: revision.o http.o http-
 
 git-rev-list$X: rev-list.o $(LIB_FILE)
 	$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
-		$(LIBS) $(OPENSSL_LIBSSL)
+		$(LIBS) $(OPENSSL_LINK) $(OPENSSL_LIBSSL)
 
 init-db.o: init-db.c
 	$(CC) -c $(ALL_CFLAGS) \
We used to depend on bignum from openssl for rev-list
(merge-order), and if I remember correctly that was the only
reason built recipe for rev-list is different from other
programs.  I wonder if we can just get rid of this thing, and
have it built with git-%$X rule like everybody else.

Can somebody try that out and report what happens?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help