Commits on Source (14)
-
Instead of ltmain.sh, in order to ensure all changes will used. If ltmain.sh gets modified as well, there is no way to guarantee that all changes to the .in file will trigger a regenetation since both file will likely have the same modification timestamps Refs !182 An updated version of our current libtool patchset has been pushed to https://github.com/chouquette/libtool/tree/vlc_patches
be3566e4 -
9dcc5504
-
When building with bitcode enabled (*FLAGS+=-fembed-bitcode), the following happens: - with LDFLAGS += -fembed-bitcode, the vanilla libtool version will remove the -fembed-bitcode flag, being an unknown flag, so bitcode won't actually be enabled, and final link steps might complain that the dylibs (libvlccore.dylib for instance) doesn't actually have bitcode embedded. - once fixed (either by this patch or by using -Wl,-fembed-bitcode), the plugins will be compiled with -module, which default to using MH_BUNDLE on iOS/tvOS/MacOSX instead of MH_DYLIB. Indeed, dylibs can be dlopened only since MacOSX 10.3/10.4, and can be dlclosed only since MacOSX 10.5, so MH_BUNDLE was the primary target for libtool module support. However, MH_BUNDLE is not compatible with the bitcode support from Clang. Since we support MacOSX 10.11 as minimum, we can default to using MH_DYLIB for plugins to have the bitcode support. This new libtool patch add the explicit support for -fembed-bitcode in libtool --mode=link flags, and change the flags used when using -module in libtool to switch to dylibs.
9970f4c7 -
shell || nicely handles the commands on the other lines without escaping the end of line, which provides better error message in case of error. In addition, priority of operators is much more obvious since the [] test syntax provides a visible scope-like feeling.
035afac3 -
libtool is notoriously known to have been patched over the time and was provided as 2.4.7-dirty on archlinux, which makes the integer comparison test fail since 7-dirty is not an integer.
b7d57c6c -
The -fsanitize support has been added upstream in the commit a5c6466528c060cc4660ad0319c00740db0e42ba which is shipped into 2.4.7.
af78cd1f -
libtool-2.4.6-san.patch is not used anymore, and other libtool patches have been rebased on top of libtool-2.4.7.
7dc88148 -
e15c22ad
-
Currently we are using commandname --version to check wheather a command exists. Hence if a command is not shipped with --version the check fails. For example busybox implementation of sha512sum fails to get detected via this method. Use command -v to check whether a command exists to fix this limitation.
7148e1da -
sha512sum uses --check, which is not supported by many other implementations of sha512sum such as busybox. Using -c instead will let this script usable in more distros and OSes.
c1021034 -
67c1f739
-
b35a4653
-
488b7787
-
6ceb56b8
Showing
- Makefile.am 3 additions, 4 deletionsMakefile.am
- extras/tools/SHA512SUMS 4 additions, 4 deletionsextras/tools/SHA512SUMS
- extras/tools/bootstrap 4 additions, 4 deletionsextras/tools/bootstrap
- extras/tools/libtool-2.4.6-san.patch 0 additions, 42 deletionsextras/tools/libtool-2.4.6-san.patch
- extras/tools/libtool-2.4.7-bitcode.patch 19 additions, 0 deletionsextras/tools/libtool-2.4.7-bitcode.patch
- extras/tools/libtool-2.4.7-clang-libs.patch 0 additions, 0 deletionsextras/tools/libtool-2.4.7-clang-libs.patch
- extras/tools/libtool-2.4.7-embed-bitcode.patch 41 additions, 0 deletionsextras/tools/libtool-2.4.7-embed-bitcode.patch
- extras/tools/libtool-2.4.7-lpthread.patch 66 additions, 0 deletionsextras/tools/libtool-2.4.7-lpthread.patch
- extras/tools/libtool-2.4.7-response-files.patch 4 additions, 4 deletionsextras/tools/libtool-2.4.7-response-files.patch
- extras/tools/packages.mak 4 additions, 4 deletionsextras/tools/packages.mak
- extras/tools/tools.mak 12 additions, 13 deletionsextras/tools/tools.mak
extras/tools/libtool-2.4.6-san.patch
deleted
100644 → 0
File moved
extras/tools/libtool-2.4.7-lpthread.patch
0 → 100644