0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 09:19:51 +00:00
packages/utils/acsccid/patches/010-uname.patch
Rosen Penev 164bd1fdf8 acsccid: fix compilation under macOS
uname is not safe for cross compilation.

Also fixed up download file name to avoid potential conflicts.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-27 23:14:31 -07:00

12 lines
298 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -84,7 +84,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)