From: Rosen Penev Date: Mon, 4 Oct 2021 23:04:17 +0000 (-0700) Subject: ccid: fix compilation under macOS X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7a7d1a5d2cbf626119b4bc7598fdbe2d0afa3743;p=openwrt-packages.git ccid: fix compilation under macOS Remove a bad uname check. Signed-off-by: Rosen Penev --- 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)