]> granicus.if.org Git - libvpx/commit
Add --enable-shared option to iosbuild.sh to build dynamic framework
authorBrion Vibber <bvibber@wikimedia.org>
Mon, 2 May 2016 16:41:59 +0000 (12:41 -0400)
committerBrion Vibber <bvibber@wikimedia.org>
Thu, 12 May 2016 15:26:01 +0000 (08:26 -0700)
commit992e4b7090cbb6f6f5fead22d98b2e9005a544c0
tree062efe45d9117bbe08be27345e01ab7374261519
parent04246a60d781ac5450b5099f73befb3293415e02
Add --enable-shared option to iosbuild.sh to build dynamic framework

Also allows use of --enable-shared when configuring for Mac OS X,
producing a bare .dylib.

Enabling the shared framework bumps the iOS deployment target to 8.0,
the minimum required to support dynamic framework deployment in apps.

When not using --enable-shared, a static library for iOS 6.0+ will still
be built.

Minimum version settings have been moved into ios-version.sh so they
can be updated in a single place.

As with the static build, unless header search paths are manually
tweaked, users must add a VPX prefix on includes, such as:

  #include <VPX/vpx/vpx_decoder.h>

A module map for headers is not yet included as inttypes.h is not
modular; this means that VPX cannot be used directly in Swift code,
but can still be pulled in through an Objective-C wrapper.

BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1092
Change-Id: I28fb06ce65e48ed167a88c14a7bfb2861989317e
build/make/configure.sh
build/make/ios-Info.plist [new file with mode: 0644]
build/make/ios-version.sh [new file with mode: 0755]
build/make/iosbuild.sh
configure
libs.mk