46 lines
1.4 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../xmlstarlet/no-static-xml-libs.patch
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- xmlstarlet-1.0.1/configure.orig 2006-01-24 01:08:50.000000000 +0100
+++ xmlstarlet-1.0.1/configure 2006-01-24 01:10:12.000000000 +0100
@@ -2159,7 +2159,7 @@
if test "x$LIBXML_LIBS" = "x"
then
- LIBXML_LIBS="${LIBXML_PREFIX}/lib/libxml2.a -lz -lm -lpthread -ldl"
+ LIBXML_LIBS="-lxml2 -lz -lm -lpthread -ldl"
fi
if test "x$LIBXSLT_CFLAGS" = "x"
@@ -2169,7 +2169,7 @@
if test "x$LIBXSLT_LIBS" = "x"
then
- LIBXSLT_LIBS="${LIBXSLT_PREFIX}/lib/libxslt.a ${LIBXSLT_PREFIX}/lib/libexslt.a -lz -lm -lpthread"
+ LIBXSLT_LIBS="-lxslt -lexslt -lz -lm -lpthread"
fi
if test "x$LIBICONV_CFLAGS" = "x"
@@ -2179,7 +2179,7 @@
if test "x$LIBICONV_LIBS" = "x"
then
- LIBICONV_LIBS="-L${LIBXSLT_PREFIX}/lib"
+ LIBICONV_LIBS=""
fi