From a5416b07d47827c256db9a49c095745f7170f7c0 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 31 Jul 2013 02:46:12 -0300 Subject: [PATCH] build: Avoid building and installing static plugin There's no need to build and install a static plugin. So, disable it (only for plugins). --- src/plugins/asf/Makefile.am | 2 +- src/plugins/audio-dummy/Makefile.am | 2 +- src/plugins/dummy/Makefile.am | 2 +- src/plugins/flac/Makefile.am | 2 +- src/plugins/id3/Makefile.am | 2 +- src/plugins/jpeg/Makefile.am | 2 +- src/plugins/m3u/Makefile.am | 2 +- src/plugins/mp4/Makefile.am | 2 +- src/plugins/ogg/Makefile.am | 2 +- src/plugins/pls/Makefile.am | 2 +- src/plugins/png/Makefile.am | 2 +- src/plugins/rm/Makefile.am | 2 +- src/plugins/video-dummy/Makefile.am | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/plugins/asf/Makefile.am b/src/plugins/asf/Makefile.am index 756e745..992eccd 100644 --- a/src/plugins/asf/Makefile.am +++ b/src/plugins/asf/Makefile.am @@ -8,4 +8,4 @@ pkg_LTLIBRARIES = asf.la asf_la_SOURCES = asf.c asf_la_DEPENDENCIES = $(top_builddir)/config.h asf_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la -asf_la_LDFLAGS = -module -avoid-version +asf_la_LDFLAGS = -module -avoid-version -shared diff --git a/src/plugins/audio-dummy/Makefile.am b/src/plugins/audio-dummy/Makefile.am index 983797f..5fbcef4 100644 --- a/src/plugins/audio-dummy/Makefile.am +++ b/src/plugins/audio-dummy/Makefile.am @@ -8,4 +8,4 @@ pkg_LTLIBRARIES = audio-dummy.la audio_dummy_la_SOURCES = audio-dummy.c audio_dummy_la_DEPENDENCIES = $(top_builddir)/config.h audio_dummy_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la -audio_dummy_la_LDFLAGS = -module -avoid-version +audio_dummy_la_LDFLAGS = -module -avoid-version -shared diff --git a/src/plugins/dummy/Makefile.am b/src/plugins/dummy/Makefile.am index 7c48b88..ff707a2 100644 --- a/src/plugins/dummy/Makefile.am +++ b/src/plugins/dummy/Makefile.am @@ -8,4 +8,4 @@ pkg_LTLIBRARIES = dummy.la dummy_la_SOURCES = dummy.c dummy_la_DEPENDENCIES = $(top_builddir)/config.h dummy_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la -dummy_la_LDFLAGS = -module -avoid-version +dummy_la_LDFLAGS = -module -avoid-version -shared diff --git a/src/plugins/flac/Makefile.am b/src/plugins/flac/Makefile.am index 6c3d568..cbb5bad 100644 --- a/src/plugins/flac/Makefile.am +++ b/src/plugins/flac/Makefile.am @@ -7,4 +7,4 @@ pkg_LTLIBRARIES = flac.la flac_la_SOURCES = flac.c flac_la_DEPENDENCIES = $(top_builddir)/config.h flac_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la @FLAC_LIBS@ -flac_la_LDFLAGS = -module -avoid-version +flac_la_LDFLAGS = -module -avoid-version -shared diff --git a/src/plugins/id3/Makefile.am b/src/plugins/id3/Makefile.am index d6c7921..3416cf2 100644 --- a/src/plugins/id3/Makefile.am +++ b/src/plugins/id3/Makefile.am @@ -8,7 +8,7 @@ pkg_LTLIBRARIES = id3.la id3_la_SOURCES = id3.c id3v1_genres.c id3_la_DEPENDENCIES = $(top_builddir)/config.h id3v1_genres.def id3_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la -id3_la_LDFLAGS = -module -avoid-version +id3_la_LDFLAGS = -module -avoid-version -shared id3v1_genres.c: $(srcdir)/id3v1_genres.def $(srcdir)/id3v1_genres_gen.awk $(AWK) -f $(srcdir)/id3v1_genres_gen.awk $(srcdir)/id3v1_genres.def > $@ diff --git a/src/plugins/jpeg/Makefile.am b/src/plugins/jpeg/Makefile.am index a42b284..aab74d3 100644 --- a/src/plugins/jpeg/Makefile.am +++ b/src/plugins/jpeg/Makefile.am @@ -8,4 +8,4 @@ pkg_LTLIBRARIES = jpeg.la jpeg_la_SOURCES = jpeg.c jpeg_la_DEPENDENCIES = $(top_builddir)/config.h jpeg_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la -jpeg_la_LDFLAGS = -module -avoid-version +jpeg_la_LDFLAGS = -module -avoid-version -shared diff --git a/src/plugins/m3u/Makefile.am b/src/plugins/m3u/Makefile.am index 7a7828f..0fb315d 100644 --- a/src/plugins/m3u/Makefile.am +++ b/src/plugins/m3u/Makefile.am @@ -8,4 +8,4 @@ pkg_LTLIBRARIES = m3u.la m3u_la_SOURCES = m3u.c m3u_la_DEPENDENCIES = $(top_builddir)/config.h m3u_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la -m3u_la_LDFLAGS = -module -avoid-version +m3u_la_LDFLAGS = -module -avoid-version -shared diff --git a/src/plugins/mp4/Makefile.am b/src/plugins/mp4/Makefile.am index 8bec2bb..56d0c96 100644 --- a/src/plugins/mp4/Makefile.am +++ b/src/plugins/mp4/Makefile.am @@ -8,4 +8,4 @@ pkg_LTLIBRARIES = mp4.la mp4_la_SOURCES = mp4.c mp4_la_DEPENDENCIES = $(top_builddir)/config.h mp4_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la @MP4V2_LIBS@ -mp4_la_LDFLAGS = -module -avoid-version +mp4_la_LDFLAGS = -module -avoid-version -shared diff --git a/src/plugins/ogg/Makefile.am b/src/plugins/ogg/Makefile.am index b05dcf4..4467a12 100644 --- a/src/plugins/ogg/Makefile.am +++ b/src/plugins/ogg/Makefile.am @@ -15,6 +15,6 @@ endif ogg_la_DEPENDENCIES = $(top_builddir)/config.h ogg_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la @VORBIS_LIBS@ -ogg_la_LDFLAGS = -module -avoid-version +ogg_la_LDFLAGS = -module -avoid-version -shared noinst_HEADERS= lms_ogg_private.h diff --git a/src/plugins/pls/Makefile.am b/src/plugins/pls/Makefile.am index f265ad4..b145e76 100644 --- a/src/plugins/pls/Makefile.am +++ b/src/plugins/pls/Makefile.am @@ -8,4 +8,4 @@ pkg_LTLIBRARIES = pls.la pls_la_SOURCES = pls.c pls_la_DEPENDENCIES = $(top_builddir)/config.h pls_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la -pls_la_LDFLAGS = -module -avoid-version +pls_la_LDFLAGS = -module -avoid-version -shared diff --git a/src/plugins/png/Makefile.am b/src/plugins/png/Makefile.am index eb19538..5fc7421 100644 --- a/src/plugins/png/Makefile.am +++ b/src/plugins/png/Makefile.am @@ -8,4 +8,4 @@ pkg_LTLIBRARIES = png.la png_la_SOURCES = png.c png_la_DEPENDENCIES = $(top_builddir)/config.h png_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la -png_la_LDFLAGS = -module -avoid-version +png_la_LDFLAGS = -module -avoid-version -shared diff --git a/src/plugins/rm/Makefile.am b/src/plugins/rm/Makefile.am index ef6e3fd..6bb2a61 100644 --- a/src/plugins/rm/Makefile.am +++ b/src/plugins/rm/Makefile.am @@ -8,4 +8,4 @@ pkg_LTLIBRARIES = rm.la rm_la_SOURCES = rm.c rm_la_DEPENDENCIES = $(top_builddir)/config.h rm_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la -rm_la_LDFLAGS = -module -avoid-version +rm_la_LDFLAGS = -module -avoid-version -shared diff --git a/src/plugins/video-dummy/Makefile.am b/src/plugins/video-dummy/Makefile.am index 55be128..05a6e19 100644 --- a/src/plugins/video-dummy/Makefile.am +++ b/src/plugins/video-dummy/Makefile.am @@ -8,4 +8,4 @@ pkg_LTLIBRARIES = video-dummy.la video_dummy_la_SOURCES = video-dummy.c video_dummy_la_DEPENDENCIES = $(top_builddir)/config.h video_dummy_la_LIBADD = $(top_builddir)/src/lib/liblightmediascanner.la -video_dummy_la_LDFLAGS = -module -avoid-version +video_dummy_la_LDFLAGS = -module -avoid-version -shared -- 2.7.4