libprelude build failure with libtool 2.4
Re-libtoolized (with libtool 2.4) libprelude fails to build with:
In file included from prelude-plugin.c:56:0:
/include/prelude-plugin.h:66:20: error: conflicting types for 'lt__PROGRAM__LTX_preloaded_symbols'
/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/ltdl.h:106:36: note: previous declaration of 'lt__PROGRAM__LTX_preloaded_symbols' was here
make4: *** [prelude-plugin.lo] Error 1 =======================================================
The problem is that libtool 2.4 changed lt__PROGRAM__LTX_preloaded_symbols definition to
extern LT_DLSYM_CONST lt_dlsymlist lt__PROGRAM__LTX_preloaded_symbols;
but there is no easy way to find its version to fix it properly, so attached is a temporary hack to make at least libprelude itself compile.