cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: pre6 build in sub-dir

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 6 Mar 2002 23:23:12 +0100 (MET)

On Wed, 6 Mar 2002, Roth, Kevin P. wrote:

> Not sure what happened, but it looks like I sent up the wrong snippet of
> output. Here's the error I was actually seeing:

While we were talking, Brad mailed me the correct patch for this:

--- lib/Makefile.am.orig Wed Feb 27 10:09:23 2002
+++ lib/Makefile.am Wed Mar 6 13:57:32 2002
@@ -14,7 +14,7 @@ lib_LTLIBRARIES = libcurl.la

 # we use srcdir/include for the static global include files
 # we use builddir/lib for the generated lib/config.h file to get found
-INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/lib
+INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/lib -I$(top_srcdir)/lib

 libcurl_la_LDFLAGS = -no-undefined -version-info 2:2:0
 # This flag accepts an argument of the form current[:revision[:age]]. So,

I applied a very similar fix for the src/Makefile.am file too. (I added
-I$(top_srcdir)/src in that file).

I actually had a good reason for this new include path mess. It isn't just
because I want new problems to fix. :-)

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-06