summaryrefslogtreecommitdiff
path: root/drumgizmo/output/alsa
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/output/alsa')
-rw-r--r--drumgizmo/output/alsa/Makefile.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/drumgizmo/output/alsa/Makefile.am b/drumgizmo/output/alsa/Makefile.am
index 6fff841..9f20844 100644
--- a/drumgizmo/output/alsa/Makefile.am
+++ b/drumgizmo/output/alsa/Makefile.am
@@ -4,7 +4,7 @@ alsasources = \
if HAVE_OUTPUT_ALSA
-alsaltlibs = libalsa.la
+alsaltlibs = alsa.la
alsabuildsources = $(alsasources)
else
@@ -21,6 +21,9 @@ lib_LTLIBRARIES = $(alsaltlibs)
libdir = $(OUTPUT_PLUGIN_DIR)
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include $(ALSA_CFLAGS)
-libalsa_la_LDFLAGS = $(ALSA_LIBS)
-libalsa_la_LIBADD =
-libalsa_la_SOURCES = $(alsabuildsources)
+alsa_la_LDFLAGS = $(ALSA_LIBS) -module -avoid-version -shared
+alsa_la_LIBADD =
+alsa_la_SOURCES = $(alsabuildsources)
+
+install-exec-hook:
+ rm -f $(DESTDIR)$(libdir)/alsa.la