Commit eab777c5 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Felix Paul Kühne
Browse files

lib: remove libtool version for iOS/tvOS

The libtool versionning is there to handle linkage compatibility during
runtime with older/more recent version of the libraries. On iOS and
tvOS, the dynamic libraries MUST be shipped in a framework. A framework
already provides its own way of handling versionning, and applications
cannot install global dynamic libraries (except maybe on jailbroken
devices) so cannot really use the libtool versionning features for
anything.
parent dcb42685
......@@ -75,6 +75,15 @@ if HAVE_DARWIN
libvlc_la_LDFLAGS += -Xlinker -install_name -Xlinker @rpath/libvlc.dylib
endif
# iOS and tvOS applications cannot install global shared libraries and
# dylibs must be in frameworks so there's no need for libtool versionning.
if HAVE_IOS
libvlc_la_LDFLAGS += -avoid-version
endif
if HAVE_TVOS
libvlc_la_LDFLAGS += -avoid-version
endif
pkgconfig_DATA = libvlc.pc
libvlc.pc: libvlc.pc.in $(top_builddir)/config.status
......
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