Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 308845 | Differences between
and this patch

Collapse All | Expand All

(-)libpurple/plugins/perl/Makefile.am.dist (-1 / +1 lines)
Lines 4-10 perl_dirs = common Link Here
4
4
5
plugin_LTLIBRARIES = perl.la
5
plugin_LTLIBRARIES = perl.la
6
6
7
perl_la_LDFLAGS = -module -avoid-version
7
perl_la_LDFLAGS = -module -avoid-version -Wl,-init -Wl,my_init
8
perl_la_LIBADD = $(GLIB_LIBS) $(PERL_LIBS)
8
perl_la_LIBADD = $(GLIB_LIBS) $(PERL_LIBS)
9
perl_la_SOURCES = \
9
perl_la_SOURCES = \
10
	perl.c \
10
	perl.c \
(-)libpurple/plugins/perl/perl.c.dist (+6 lines)
Lines 697-702 init_plugin(PurplePlugin *plugin) Link Here
697
	loader_info.exts = g_list_append(loader_info.exts, "pl");
697
	loader_info.exts = g_list_append(loader_info.exts, "pl");
698
}
698
}
699
699
700
/* If we're not using GNU C, elide __attribute__ */
701
/* If we're also not on Sun, then the linker will have to handle this */
702
#ifndef __GNUC__
703
#define  __attribute__(x)  /*NOTHING*/
704
#endif
705
700
#ifdef __SUNPRO_C
706
#ifdef __SUNPRO_C
701
#pragma init (my_init)
707
#pragma init (my_init)
702
#else
708
#else

Return to bug 308845