From 825dfa87345a10545c5ca77834e15cfd6f7f7c8f Mon Sep 17 00:00:00 2001 From: Richard Franks Date: Fri, 16 Dec 2022 14:28:02 +0000 Subject: [PATCH] Updated install script to copy correct NDI libraries for architecture --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b03a864..2019e76 100755 --- a/install.sh +++ b/install.sh @@ -8,7 +8,11 @@ mkdir "$INSTALL_DIR" mkdir "$LIB_DIR" mkdir "$BIN_DIR" -cp lib/ndi/* "$LIB_DIR" +if [ $(uname -m) == "aarch64" ]; then + cp lib64/ndi/* "$LIB_DIR" +else + cp lib32/ndi/* "$LIB_DIR" +fi cp build/src/raspindi "$BIN_DIR" cp build/src/libndioutput.so "$LIB_DIR"