[gnome-bluetooth] Make sure a shared library plugin is created



commit 52d6f07bced0cc94de789fe3346d4188ed1ed9bb
Author: Bastien Nocera <hadess hadess net>
Date:   Thu May 28 17:06:31 2009 +0100

    Make sure a shared library plugin is created
    
    Add hack from Totem to not install the test plugin, but
    make sure a .so file is still created.
---
 common/plugins/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/common/plugins/Makefile.am b/common/plugins/Makefile.am
index 1b5f806..b8f3339 100644
--- a/common/plugins/Makefile.am
+++ b/common/plugins/Makefile.am
@@ -1,3 +1,5 @@
+plugindir = $(libdir)/gnome-bluetooth/plugins/
+
 INCLUDES =                                      \
         -DDATADIR=\"$(datadir)\"                \
         -DICONDIR=\"$(icondir)\"                \
@@ -7,9 +9,11 @@ INCLUDES =                                      \
 	$(PLUGINS_CFLAGS)			\
 	$(WARN_CFLAGS)
 
-noinst_LTLIBRARIES = libgbttest.la
+plugin_LTLIBRARIES = libgbttest.la
 
 libgbttest_la_SOURCES = test.c
 libgbttest_la_LDFLAGS = -module -avoid-version
 libgbttest_la_LIBADD = $(PLUGINS_LIBS)
 
+# override to _not_ install the test plugins
+install-pluginLTLIBRARIES:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]