From 7a7d1a5d2cbf626119b4bc7598fdbe2d0afa3743 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 4 Oct 2021 16:04:17 -0700 Subject: [PATCH] ccid: fix compilation under macOS Remove a bad uname check. Signed-off-by: Rosen Penev --- utils/ccid/patches/010-macos.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 utils/ccid/patches/010-macos.patch diff --git a/utils/ccid/patches/010-macos.patch b/utils/ccid/patches/010-macos.patch new file mode 100644 index 000000000..0155cde09 --- /dev/null +++ b/utils/ccid/patches/010-macos.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -79,7 +79,7 @@ AC_CHECK_FUNCS(select strerror strncpy m + # Select OS specific versions of source files. + AC_SUBST(BUNDLE_HOST) + AC_SUBST(DYN_LIB_EXT) +-BUNDLE_HOST=`uname | sed -e s,/,_,` ++BUNDLE_HOST=Linux + DYN_LIB_EXT="so" + case "$BUNDLE_HOST" in + Darwin)