Browse Source

ccid: fix compilation under macOS

Remove a bad uname check.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 3 years ago
parent
commit
7a7d1a5d2c
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      utils/ccid/patches/010-macos.patch

+ 11
- 0
utils/ccid/patches/010-macos.patch View File

@ -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)

Loading…
Cancel
Save