# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../libtasn1/libtasn1-config.patch.cross # Copyright (C) 2008 The OpenSDE 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 --- Author: Christian Wiese Origin: OpenSDE (http://opensde.org) Description: Do not hardcode '-L{libdir}' into the generated 'libtasn1-config' which causes problems while cross-compiling packages that use libtool for linking against libtasn1 (for example gnutls). --- libtasn1-1.3/configure.orig 2008-03-17 02:04:35.000000000 +0200 +++ libtasn1-1.3/configure 2008-03-17 02:05:09.000000000 +0200 @@ -25122,7 +25122,7 @@ # For libtasn1-config. -LIBTASN1_LIBS="-L${libdir} -ltasn1 $LIBS" +LIBTASN1_LIBS="-ltasn1 $LIBS" LIBTASN1_CFLAGS="-I${includedir}"