Fix shared library support on Android.
commit47c71f61df9ace4956cc943f291480315174726b
authorBruno Haible <bruno@clisp.org>
Mon, 18 Sep 2023 10:47:08 +0000 (18 12:47 +0200)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Mon, 15 Jan 2024 20:58:56 +0000 (15 22:58 +0200)
tree6d4a6c182536aa08b059e3ce2c969998fd1455aa
parent544675d6b538eed9804a230d5674338c95f47395
Fix shared library support on Android.

This patch fixes two problems:
1) A libtool library created with the -release option and no -version-info
   option was, when built with --enable-shared, installed without the
   symlink libNAME.so -> libNAME-RELEASE.so. This led to subsequent failures
   during "make install" of shared libraries that depend on it.
2) Executables were created without a RUNPATH property. These executables
   then did not find their shared libraries when run.

* m4/libtool.m4: On Android, fix library_names_spec and
hardcode_libdir_flag_spec.
m4/libtool.m4