plugin_LTLIBRARIES = perl.la
perl_la_LDFLAGS = -module -avoid-version
perl_la_LDFLAGS = -module -avoid-version -Wl,-init -Wl,my_init
perl_la_LIBADD = $(GLIB_LIBS) $(PERL_LIBS)
perl_la_SOURCES = \
perl.c \
loader_info.exts = g_list_append(loader_info.exts, "pl");
}
/* If we're not using GNU C, elide __attribute__ */
/* If we're also not on Sun, then the linker will have to handle this */
#ifndef __GNUC__
#define __attribute__(x) /*NOTHING*/
#endif
#ifdef __SUNPRO_C
#pragma init (my_init)
#else