You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2014/01/02 18:08:32 UTC

git commit: TS-2465: libxml2 detection broken

Updated Branches:
  refs/heads/master 551bac5cd -> 96abfc7cd


TS-2465: libxml2 detection broken

There is problem with libxml2 detection in configure script. It
inserts library path into ld options without any prefix causing any
next compile attempts to fail. Tested on freebsd 10.0


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/96abfc7c
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/96abfc7c
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/96abfc7c

Branch: refs/heads/master
Commit: 96abfc7cd17a9eb36bc989f6bfcb2eb511280f05
Parents: 551bac5
Author: Radim Kolar <hs...@sendmail.cz>
Authored: Thu Jan 2 09:06:39 2014 -0800
Committer: James Peach <jp...@apache.org>
Committed: Thu Jan 2 09:08:17 2014 -0800

----------------------------------------------------------------------
 CHANGES      | 3 +++
 build/xml.m4 | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/96abfc7c/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 9d68599..464e054 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 4.2.0
 
+  *) [TS-2465] libxml2 detection generates an invalid linker path.
+   Author: Radim Kolar <hs...@sendmail.cz>
+
   *) [TS-2271] Threaded plugin support with 3rd party libraries.
    Author: Heikki Hannikainen <he...@hes.iki.fi>
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/96abfc7c/build/xml.m4
----------------------------------------------------------------------
diff --git a/build/xml.m4 b/build/xml.m4
index 806a997..b639054 100644
--- a/build/xml.m4
+++ b/build/xml.m4
@@ -59,7 +59,7 @@ AC_DEFUN([TS_CHECK_XML_LIBXML2], [
       elif test "$withval" != "no"; then
         enable_libxml2=yes
         libxml2_include="$withval/include/libxml2"
-        libxml2_ldflags="$withval/lib"
+        libxml2_ldflags="-L$withval/lib"
       fi
     fi
   ])