From: Serge van den Boom <svdb@stack.nl>
To: git@vger.kernel.org
Subject: [PATCH] Makefile: Make 'configure --with-expat=path' actually work
Date: Sun, 25 Jan 2009 20:24:41 +0100 (CET) [thread overview]
Message-ID: <alpine.BSF.2.00.0901251938120.97940@toad.stack.nl> (raw)
The prefix specified with the --with-expat option of configure was not
actually used.
Signed-off-by: Serge van den Boom <svdb@stack.nl>
---
diff --git a/Makefile b/Makefile
index b4d9cb4..e7218cb 100644
--- a/Makefile
+++ b/Makefile
@@ -849,7 +849,12 @@ else
endif
endif
ifndef NO_EXPAT
- EXPAT_LIBEXPAT = -lexpat
+ ifdef EXPATDIR
+ BASIC_CFLAGS += -I$(EXPATDIR)/include
+ EXPAT_LIBEXPAT = -L$(EXPATDIR)/$(lib) $(CC_LD_DYNPATH)$(EXPATDIR)/$(lib) -lexpat
+ else
+ EXPAT_LIBEXPAT = -lexpat
+ endif
endif
endif
next reply other threads:[~2009-01-25 19:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-25 19:24 Serge van den Boom [this message]
2009-01-28 19:13 ` [PATCH] Makefile: Make 'configure --with-expat=path' actually work Junio C Hamano
2009-01-28 20:43 ` [PATCH v2] " Serge van den Boom
2009-01-28 21:30 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.BSF.2.00.0901251938120.97940@toad.stack.nl \
--to=svdb@stack.nl \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).