Commit 2a09095e authored by Soomin Lee's avatar Soomin Lee Committed by Carola Nitz

buildscript: Fix tvOS build

For example, if we choose the compile only aarch64(-a),
it would go into the simulator part and fail since arm64
is not a simulator platform.
parent 503532aa
......@@ -1101,12 +1101,12 @@ if [ "$TVOS" = "yes" ]; then
lipo_libs=""
platform=""
if [ -d ${VLCROOT}/install-AppleTVOS ];then
if [ "$FARCH" = "all" ] || (! is_simulator_arch $FARCH);then
platform="appletvos"
buildxcodeproj MobileVLCKit "TVVLCKit" ${platform}
lipo_libs="$lipo_libs ${CONFIGURATION}-appletvos/libTVVLCKit.a"
fi
if [ -d ${VLCROOT}/install-AppleTVSimulator ];then
if [ "$FARCH" = "all" ] || (is_simulator_arch $arch);then
platform="appletvsimulator"
buildxcodeproj MobileVLCKit "TVVLCKit" ${platform}
lipo_libs="$lipo_libs ${CONFIGURATION}-appletvsimulator/libTVVLCKit.a"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment