libltdl/m4/ltdl.m4: Remove LTDL_DLOPEN_SELF_WORKS define.
libltdl/loaders/dlopen.c: Remove LTDL_DLOPEN_SELF_WORKS check.
libltdl/m4/libtool.m4 [aix]: Set export_dynamic_flag_spec to -Wl,-bexpall. This is a temporary workaround until a real fix is implemented.
+2008-09-01 Peter O'Gorman <peter@pogma.com>
+
+ Revert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl
+ dlopen(NULL)
+
+ libltdl/m4/ltdl.m4: Remove LTDL_DLOPEN_SELF_WORKS define.
+ libltdl/loaders/dlopen.c: Remove LTDL_DLOPEN_SELF_WORKS check.
+ libltdl/m4/libtool.m4 [aix]: Set export_dynamic_flag_spec to
+ -Wl,-bexpall. This is a temporary workaround until a real fix
+ is implemented.
+ NEWS: document it.
+
2008-08-26 Peter O'Gorman <peter@pogma.com>
Allow for extensions other than .a for preloaded modules.
- Fix 2.2 regression that caused argz symbols to be exported from
libltdl unrenamed on systems that do not have working argz.
+ - Revert "lt_dlopen(NULL) works on AIX again.". It was not the
+ correct fix.
+
New in 2.2.4: 2008-05-04: git version 2.2.3a, Libtool team:
* New features:
#endif
}
- /* On AIX, dlopen(NULL) succeeds but dlsym of symbols fails.
- In this case, fail here to let the preopen loader do the job. */
-#ifndef LTDL_DLOPEN_SELF_WORKS
- if (!filename)
- module = NULL;
- else
-#endif
- module = dlopen (filename, module_flags);
+ module = dlopen (filename, module_flags);
if (!module)
{
fi
fi
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
# It seems that -bexpall does not export symbols beginning with
# underscore (_), so it is better to generate a list of symbols to export.
_LT_TAGVAR(always_export_symbols, $1)=yes
fi
fi
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
# It seems that -bexpall does not export symbols beginning with
# underscore (_), so it is better to generate a list of symbols to
# export.
m4_require([_LT_CHECK_DLPREOPEN])dnl
m4_require([_LT_DECL_SED])dnl
-# lt_cv_dlopen_self gets defined by LT_SYS_DLOPEN_SELF, called by LT_INIT
-if test "$lt_cv_dlopen_self" = yes; then
- AC_DEFINE([LTDL_DLOPEN_SELF_WORKS], [1],
- [Define if dlopen(NULL) is able to resolve symbols from the main program.])
-fi
-
dnl Don't require this, or it will be expanded earlier than the code
dnl that sets the variables it relies on:
_LT_ENABLE_INSTALL