blob: 69a4355f17af8bc5b730de069b65200dce675c6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
On AIX, load shared libraries even when created with full aix-soname support:
http://lists.gnu.org/archive/html/libtool/2011-01/msg00023.html
http://lists.gnu.org/archive/html/libtool/2011-02/msg00000.html
Once there is an agreement on that, this patch eventually is for upstream too.
--- a/subversion/libsvn_ra/ra_loader.c
+++ b/subversion/libsvn_ra/ra_loader.c
@@ -164,6 +164,13 @@
/* find/load the specified library */
SVN_ERR(svn_dso_load(&dso, libname));
+#ifdef _AIX
+ if (! dso) {
+ libname = apr_psprintf(pool, "libsvn_ra_%s-%d.so.0(shr.o)",
+ ra_name, SVN_VER_MAJOR);
+ SVN_ERR(svn_dso_load(&dso, libname));
+ }
+#endif
if (! dso)
return SVN_NO_ERROR;
|