cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl-config.in doesn't handle -L@libdir@

From: Heikki Korpela <heko_at_iki.fi>
Date: Mon, 6 Aug 2001 16:16:54 +0300 (EEST)

Please consider applying the following to curl-config.in.

This way, PHP cURL extension will build even when libdir is other
than /usr or /usr/local.

-- 
<---------------------------------------------------------------------->
          Heikki Korpela -- heko@iki.fi -- http://iki.fi/heko/
Index: curl-config.in
===================================================================
RCS file: /cvsroot/curl/curl/curl-config.in,v
retrieving revision 1.6
diff -IExp -u -b -B -p -r1.6 curl-config.in
--- curl-config.in      2001/06/01 21:56:58     1.6
+++ curl-config.in      2001/08/06 13:15:32
@@ -3,7 +3,7 @@
 # The idea to this kind of setup info script was stolen from numerous
 # other packages, such as neon, libxml and gnome.
 #
-# $Id$
+# $Id: curl-config.in,v 1.6 2001/06/01 21:56:58 bumblebury Exp $
 #
 prefix=@prefix@
 exec_prefix=@exec_prefix@
@@ -77,7 +77,7 @@ while test $# -gt 0; do
                ;;
     --libs)
-               echo @LDFLAGS@ @LIBS@
+               echo -L_at_libdir@ @LDFLAGS@ @LIBS@
                ;;
     *)
_______________________________________________
Curl-library mailing list
http://curl.haxx.se/libcurl/
Received on 2001-08-06