From 76c3b66b0819c1e30a6bca348f4e155b35891ac6 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 30 May 2002 14:30:47 +0000 Subject: [PATCH] fixes bug 83427 Original commit message from CVS: fixes bug 83427 --- examples/plugins/Makefile.am | 15 ++++++++++----- tests/old/examples/plugins/Makefile.am | 15 ++++++++++----- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/examples/plugins/Makefile.am b/examples/plugins/Makefile.am index 99445f0d81..94e51fe433 100644 --- a/examples/plugins/Makefile.am +++ b/examples/plugins/Makefile.am @@ -1,9 +1,14 @@ -plugindir=/dev/null +## we need to specify the plugindir if we want libtool to build .so files ... +plugindir=$(libdir)/gst -plugin_LTLIBRARIES = libexample.la +plugin_LTLIBRARIES = libgstexample.la -libexample_la_SOURCES = example.c -libexample_la_CFLAGS = $(GST_CFLAGS) -libexample_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) +libgstexample_la_SOURCES = example.c +libgstexample_la_CFLAGS = $(GST_CFLAGS) +libgstexample_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) noinst_HEADERS = example.h + +## ... but we don't want them installed so we override the install target +install: + @true diff --git a/tests/old/examples/plugins/Makefile.am b/tests/old/examples/plugins/Makefile.am index 99445f0d81..94e51fe433 100644 --- a/tests/old/examples/plugins/Makefile.am +++ b/tests/old/examples/plugins/Makefile.am @@ -1,9 +1,14 @@ -plugindir=/dev/null +## we need to specify the plugindir if we want libtool to build .so files ... +plugindir=$(libdir)/gst -plugin_LTLIBRARIES = libexample.la +plugin_LTLIBRARIES = libgstexample.la -libexample_la_SOURCES = example.c -libexample_la_CFLAGS = $(GST_CFLAGS) -libexample_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) +libgstexample_la_SOURCES = example.c +libgstexample_la_CFLAGS = $(GST_CFLAGS) +libgstexample_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) noinst_HEADERS = example.h + +## ... but we don't want them installed so we override the install target +install: + @true