termux-packages/packages/libsasl/config-ltconfig.patch

24 lines
945 B
Diff
Raw Normal View History

--- ./config/ltconfig 2012-10-12 14:05:48.000000000 +0000
+++ ../ltconfig 2017-12-21 13:49:35.243749635 +0000
@@ -1237,8 +1237,8 @@
2015-12-15 12:56:49 +01:00
*)
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ archive_cmds='$CC $CFLAGS -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC $CFLAGS -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
else
ld_shlibs=no
fi
@@ -1956,7 +1956,8 @@
2015-12-15 12:56:49 +01:00
shlibpath_var=DYLD_LIBRARY_PATH
;;
-gnu*)
+gnu* | linux-android*)
+ deplibs_check_method=pass_all
2015-12-15 12:56:49 +01:00
version_type=linux
need_lib_prefix=no
need_version=no