termux-packages/packages/liblzma/configure.patch

40 lines
1.3 KiB
Diff

diff -uNr xz-5.2.4/configure xz-5.2.4.mod/configure
--- xz-5.2.4/configure 2018-04-29 19:01:24.000000000 +0300
+++ xz-5.2.4.mod/configure 2019-05-03 15:50:52.793155366 +0300
@@ -14026,26 +14026,6 @@
dynamic_linker=no
;;
-linux*android*)
- version_type=none # Android doesn't support versioned libraries.
- need_lib_prefix=no
- need_version=no
- library_names_spec='$libname$release$shared_ext'
- soname_spec='$libname$release$shared_ext'
- finish_cmds=
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-
- # This implies no fast_install, which is unacceptable.
- # Some rework will be needed to allow for fast_install
- # before this can be enabled.
- hardcode_into_libs=yes
-
- dynamic_linker='Android linker'
- # Don't embed -rpath directories since the linker doesn't support them.
- hardcode_libdir_flag_spec='-L$libdir'
- ;;
-
# This must be glibc/ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
version_type=linux # correct to gnu/linux during the next big refactor
@@ -14053,7 +14033,7 @@
need_version=no
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
soname_spec='$libname$release$shared_ext$major'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ finish_cmds=
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no