diff options
author | Memphiz <memphis@machzwo.de> | 2015-10-18 18:05:08 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2015-10-19 17:18:06 +0200 |
commit | 5177327c68a22bcb11741626ca2256986593ef2e (patch) | |
tree | d2ba2ade155407dea6d7aee2890fdbc586537428 /tools | |
parent | 1bf674b1cf7981e4b9c4016df0e5b00c59a514fe (diff) |
[ios/VideoToolbox] - dyload VideoToolbox framework and dependend on the runtime ios version either load it from private or public frameworks path
Diffstat (limited to 'tools')
-rw-r--r-- | tools/darwin/Configurations/App-iOS.xcconfig | 2 | ||||
-rwxr-xr-x | tools/darwin/Support/copyframeworks-ios.command | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/tools/darwin/Configurations/App-iOS.xcconfig b/tools/darwin/Configurations/App-iOS.xcconfig index 524b0408c4..19d22b6905 100644 --- a/tools/darwin/Configurations/App-iOS.xcconfig +++ b/tools/darwin/Configurations/App-iOS.xcconfig @@ -40,7 +40,7 @@ COPY_PHASE_STRIP = NO DEAD_CODE_STRIPPING = NO OTHER_CPLUSPLUSFLAGS = $(inherited) $(OTHER_CFLAGS) -Wreorder -OTHER_LDFLAGS = $(XBMC_OTHER_LDFLAGS_COMMON) -weak_framework VideoToolbox -Wl,-segalign,4000 +OTHER_LDFLAGS = $(XBMC_OTHER_LDFLAGS_COMMON) GCC_PREPROCESSOR_DEFINITIONS = TARGET_DARWIN_IOS $(inherited) diff --git a/tools/darwin/Support/copyframeworks-ios.command b/tools/darwin/Support/copyframeworks-ios.command index a0031ab79a..409d0b69eb 100755 --- a/tools/darwin/Support/copyframeworks-ios.command +++ b/tools/darwin/Support/copyframeworks-ios.command @@ -75,12 +75,6 @@ chmod u+w "$TARGET_FRAMEWORKS/$(basename $a)" install_name_tool -change "$a" "$DYLIB_NAMEPATH/$(basename $a)" "$TARGET_BINARY" done -echo "Fixing $TARGET_BINARY VideoToolbox dylib name" -VTB_SDK6=/System/Library/Frameworks/VideoToolbox.framework/VideoToolbox -VTB_SDK5=/System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox -install_name_tool -change "$VTB_SDK6" "$VTB_SDK5" "$TARGET_BINARY" - - echo "Package $EXTERNAL_LIBS/lib/python2.6" mkdir -p "$TARGET_CONTENTS/Frameworks/lib" PYTHONSYNC="rsync -aq --exclude .DS_Store --exclude *.a --exclude *.exe --exclude test --exclude tests" |