summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/tegrarcm/tegrarcm/0001-configure.ac-link-crypotpp-as-a-static-library.patch13
1 files changed, 6 insertions, 7 deletions
diff --git a/recipes-bsp/tegrarcm/tegrarcm/0001-configure.ac-link-crypotpp-as-a-static-library.patch b/recipes-bsp/tegrarcm/tegrarcm/0001-configure.ac-link-crypotpp-as-a-static-library.patch
index bdafb55..cee5bc3 100644
--- a/recipes-bsp/tegrarcm/tegrarcm/0001-configure.ac-link-crypotpp-as-a-static-library.patch
+++ b/recipes-bsp/tegrarcm/tegrarcm/0001-configure.ac-link-crypotpp-as-a-static-library.patch
@@ -1,4 +1,4 @@
-From fb84c35772a1883c48646638e2b7618442f82ff6 Mon Sep 17 00:00:00 2001
+From 9f60bf915ca239c28e3b35a15867eefb4d1da3f7 Mon Sep 17 00:00:00 2001
From: Max Krummenacher <max.krummenacher@toradex.com>
Date: Tue, 5 May 2015 13:54:11 +0200
Subject: [PATCH] configure.ac: link crypotpp as a static library
@@ -7,16 +7,15 @@ We want to build -native for a 32 bit machine but have issues with certain
distributions 32bit libcryptopp.so. So link against our own build
of a 32bit libcryptopp.a
---
- configure.ac | 2 +-
- src/Makefile.am | 4 ++--
- 2 files changed, 3 insertions(+), 3 deletions(-)
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
-index c95a0ec..250f3c2 100644
+index 943654f..89d75dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ AC_CHECK_LIB([pthread],
- PKG_CHECK_MODULES([LIBUSB], [libusb-1.0])
+ PKG_CHECK_MODULES([LIBUSB], [libusb-1.0 >= 1.0.9])
AC_LANG(C++)
SAVED_LDFLAGS=$LDFLAGS
-LDFLAGS="$LDFLAGS -lcryptopp -lpthread"
@@ -25,5 +24,5 @@ index c95a0ec..250f3c2 100644
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([#include <cryptopp/cryptlib.h>],
--
-1.9.3
+2.13.6