From beb8cc2fb7b31a46e19120cbd795fe725260944c Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Sat, 20 Apr 2024 23:24:33 -0400 Subject: [PATCH] iOS/tvOS: fix framework creation --- pkg/apple/make-frameworks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apple/make-frameworks.sh b/pkg/apple/make-frameworks.sh index 5dd707d2fe06..5135283491ba 100755 --- a/pkg/apple/make-frameworks.sh +++ b/pkg/apple/make-frameworks.sh @@ -20,7 +20,7 @@ fi mkdir -p "$BASE_DIR"/Frameworks -for dylib in "$BASE_DIR"/modules/*.dylib ; do +for dylib in $(find "$BASE_DIR"/modules -maxdepth 1 -type f -regex '.*libretro.*\.dylib$') ; do intermediate=$(basename "$dylib") intermediate="${intermediate/%.dylib/}" identifier="${intermediate/%$SUFFIX/}"