diff options
author | fuzzard <fuzzard@kodi.tv> | 2023-10-17 13:23:35 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2023-10-17 13:40:40 +1000 |
commit | 5c5ad2dd6d6493ce70dbfe637fabc74b5e902183 (patch) | |
tree | 9225c3872c643c1cc781b9199cd50e51c4350f9e /tools | |
parent | e147535153da4ccab37fee03affef388dbaeff03 (diff) |
[tvos] Fix some errors in copy scripts
DllPaths_generated.h only has .so libs, so change from dylib to match
We currently have no dylibs in $TARGET_FRAMEWORKS/"*dylib*, so just remove
this block. Fixes this message
error: /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /Users/Shared/jenkins/workspace/TVOS/build/build/Debug-appletvos/Kodi.app/Frameworks/*dylib* (No such file or directory)
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/darwin/Support/copyframeworks-darwin_embedded.command | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/tools/darwin/Support/copyframeworks-darwin_embedded.command b/tools/darwin/Support/copyframeworks-darwin_embedded.command index 1818224136..c960586d81 100755 --- a/tools/darwin/Support/copyframeworks-darwin_embedded.command +++ b/tools/darwin/Support/copyframeworks-darwin_embedded.command @@ -95,27 +95,6 @@ echo "Checking addons *.so for dylib dependencies" check_xbmc_dylib_depends "$XBMC_HOME"/addons "*.so" echo "Checking xbmc/DllPaths_generated.h for dylib dependencies" -for a in $(grep .dylib "$BUILD_ROOT"/xbmc/DllPaths_generated.h | awk '{print $3}' | sed s/\"//g) ; do +for a in $(grep .so "$BUILD_ROOT"/xbmc/DllPaths_generated.h | awk '{print $3}' | sed s/\"//g) ; do check_dyloaded_depends $a done - -echo "Checking $TARGET_FRAMEWORKS for missing dylib dependencies" -REWIND="1" -while [ $REWIND = "1" ] -do - let REWIND="0" - for b in "$TARGET_FRAMEWORKS/"*dylib* ; do - #echo " Processing $b" - for a in $(otool -L "$b" | grep "$EXTERNAL_LIBS" | awk ' { print $1 } ') ; do - #echo "Processing $a" - if [ ! -f "$TARGET_FRAMEWORKS/$(basename $a)" ]; then - echo " Packaging $a" - cp -f "$a" "$TARGET_FRAMEWORKS/" - chmod u+w "$TARGET_FRAMEWORKS/$(basename $a)" - let REWIND="1" - fi - install_name_tool -change "$a" "$DYLIB_NAMEPATH/$(basename $a)" "$TARGET_FRAMEWORKS/$(basename $b)" - done - done -done - |