# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../uclibc/pkg_patch/gpgme-add_gpg_error.patch
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2004 - 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 ---
--- gpgme-1.0.2/tests/gpg/Makefile.in.orig	2005-01-27 11:47:14.000000000 -0800
+++ gpgme-1.0.2/tests/gpg/Makefile.in	2005-01-27 11:48:34.000000000 -0800
@@ -156,7 +156,7 @@
 	$(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(GPG_ERROR_LIBS)
 SOURCES = t-decrypt.c t-decrypt-verify.c t-edit.c t-encrypt.c \
 	t-encrypt-sign.c t-encrypt-sym.c t-eventloop.c t-export.c \
 	t-genkey.c t-import.c t-keylist.c t-keylist-sig.c t-sign.c \
--- gpgme-1.0.2/tests/gpgsm/Makefile.in.orig	2005-01-27 11:53:04.000000000 -0800
+++ gpgme-1.0.2/tests/gpgsm/Makefile.in	2005-01-27 11:53:38.000000000 -0800
@@ -118,7 +118,7 @@
 	$(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(GPG_ERROR_LIBS)
 SOURCES = t-decrypt.c t-encrypt.c t-export.c t-genkey.c t-import.c \
 	t-keylist.c t-sign.c t-verify.c
 DIST_SOURCES = t-decrypt.c t-encrypt.c t-export.c t-genkey.c \