From c27d48bb2fe89870e0f454e8e2b6606f0c46d988 Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 23 Jun 2003 19:53:34 +0000 Subject: [PATCH] dynamic module loading works git-svn-id: http://ltt.polymtl.ca/svn@95 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/attribute.c | 2 ++ .../poly/lttv/plugins/examples/Makefile.am | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ltt/branches/poly/lttv/attribute.c b/ltt/branches/poly/lttv/attribute.c index a8c72115..b08c24da 100644 --- a/ltt/branches/poly/lttv/attribute.c +++ b/ltt/branches/poly/lttv/attribute.c @@ -221,6 +221,7 @@ void lttv_attributes_set_pointer(lttv_attributes *a, lttv_key *k, void *p) { } +#ifdef EXT_ATTRIBS /* Sometimes the attributes must be accessed in bulk, sorted in different ways. For this purpose they may be converted to arrays and sorted multiple times. The keys used in the array belong to the lttv_attributes @@ -420,3 +421,4 @@ static void select_pointer(void *key, void *value, void *user_data) +#endif // EXT_ATTRIBS diff --git a/ltt/branches/poly/lttv/plugins/examples/Makefile.am b/ltt/branches/poly/lttv/plugins/examples/Makefile.am index 796b6543..b9f091ac 100644 --- a/ltt/branches/poly/lttv/plugins/examples/Makefile.am +++ b/ltt/branches/poly/lttv/plugins/examples/Makefile.am @@ -8,10 +8,10 @@ libdir = ${lttvplugindir} AM_CFLAGS = $(GLIB_CFLAGS) LIBS += $(GLIB_LIBS) -lib_LTLIBRARIES = sampledep.la samplemodule.la samplemodule2.la -sampledep_la_LDFLAGS = -module -sampledep_la_SOURCES = sampledep.c -samplemodule_la_LDFLAGS = -module -samplemodule_la_SOURCES = samplemodule.c -samplemodule2_la_LDFLAGS = -module -samplemodule2_la_SOURCES = samplemodule2.c +lib_LTLIBRARIES = libsampledep.la libsamplemodule.la libsamplemodule2.la +libsampledep_la_LDFLAGS = -module +libsampledep_la_SOURCES = sampledep.c +libsamplemodule_la_LDFLAGS = -module +libsamplemodule_la_SOURCES = samplemodule.c +libsamplemodule2_la_LDFLAGS = -module +libsamplemodule2_la_SOURCES = samplemodule2.c -- 2.34.1