Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix compile with expat, but an old curl version
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Wed, 5 Apr 2006 14:22:40 +0000
(16:22 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 5 Apr 2006 19:49:56 +0000
(12:49 -0700)
With an old curl version, git-http-push is not compiled. But git-http-fetch
still needs to be linked with expat if NO_EXPAT is not defined.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
8d9fbe5
)
diff --git
a/Makefile
b/Makefile
index c7d5ecf4f3bec7dae2eec42de55c1c58fed3efb9..164151999dc4b6dcf16606e95306d89bcbcf9eff 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-324,10
+324,12
@@
ifndef NO_CURL
curl_check := $(shell (echo 070908; curl-config --vernum) | sort -r | sed -ne 2p)
ifeq "$(curl_check)" "070908"
ifndef NO_EXPAT
- EXPAT_LIBEXPAT = -lexpat
PROGRAMS += git-http-push$X
endif
endif
+ ifndef NO_EXPAT
+ EXPAT_LIBEXPAT = -lexpat
+ endif
endif
ifndef NO_OPENSSL