summaryrefslogtreecommitdiff
path: root/openwrt/package/libgcrypt/patches/500-cross-compile.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-15 00:12:55 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-15 00:12:55 +0000
commit927dc255433d5f8e28c081af47ebdf32411b98c6 (patch)
tree6e1f22525e19a09eb90d676159cd1ae778c56a88 /openwrt/package/libgcrypt/patches/500-cross-compile.patch
parent550a1b9fcf27a9d6057379d59078f755cdc89f1b (diff)
Add libgcrypt package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1249 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/libgcrypt/patches/500-cross-compile.patch')
-rw-r--r--openwrt/package/libgcrypt/patches/500-cross-compile.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/openwrt/package/libgcrypt/patches/500-cross-compile.patch b/openwrt/package/libgcrypt/patches/500-cross-compile.patch
new file mode 100644
index 0000000000..e7d4d5877b
--- /dev/null
+++ b/openwrt/package/libgcrypt/patches/500-cross-compile.patch
@@ -0,0 +1,24 @@
+diff -ruN libgcrypt-1.2.1-orig/tests/Makefile.am libgcrypt-1.2.1-1/tests/Makefile.am
+--- libgcrypt-1.2.1-orig/tests/Makefile.am 2004-03-03 09:08:05.000000000 +0100
++++ libgcrypt-1.2.1-1/tests/Makefile.am 2005-03-15 21:36:49.000000000 +0100
+@@ -21,7 +21,7 @@
+ TESTS = prime register ac basic tsexp keygen pubkey benchmark
+
+ INCLUDES = -I$(top_srcdir)/src
+-LDADD = ../src/libgcrypt.la
++LDADD = ../src/libgcrypt.la @LTLIBOBJS@ @GPG_ERROR_LIBS@
+
+ EXTRA_PROGRAMS = testapi
+ noinst_PROGRAMS = $(TESTS)
+diff -ruN libgcrypt-1.2.1-orig/tests/Makefile.in libgcrypt-1.2.1-1/tests/Makefile.in
+--- libgcrypt-1.2.1-orig/tests/Makefile.in 2005-01-05 14:53:23.000000000 +0100
++++ libgcrypt-1.2.1-1/tests/Makefile.in 2005-03-15 21:37:12.000000000 +0100
+@@ -258,7 +258,7 @@
+ target_vendor = @target_vendor@
+ TESTS = prime register ac basic tsexp keygen pubkey benchmark
+ INCLUDES = -I$(top_srcdir)/src
+-LDADD = ../src/libgcrypt.la
++LDADD = ../src/libgcrypt.la @LTLIBOBJS@ @GPG_ERROR_LIBS@
+ AM_CFLAGS = @GPG_ERROR_CFLAGS@
+ all: all-am
+