summaryrefslogtreecommitdiff
path: root/navit/speech/cmdline
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-05-18 10:37:40 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-05-18 10:37:40 +0000
commit15e31125f0143af9cddbef9dd69326cb0fbd52bb (patch)
tree5bdc8f0c507f94f774c95749b485d2d508a48e1a /navit/speech/cmdline
parent48da984461e3c51ee156f3a58192dfffe65478f1 (diff)
downloadnavit-15e31125f0143af9cddbef9dd69326cb0fbd52bb.tar.gz
Fix:Build:Correctly build modules when plugins are disabled
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3266 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/speech/cmdline')
-rw-r--r--navit/speech/cmdline/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/speech/cmdline/Makefile.am b/navit/speech/cmdline/Makefile.am
index ac1d7aa98..4597bd934 100644
--- a/navit/speech/cmdline/Makefile.am
+++ b/navit/speech/cmdline/Makefile.am
@@ -1,5 +1,9 @@
include $(top_srcdir)/Makefile.inc
AM_CPPFLAGS = @NAVIT_CFLAGS@ -I$(top_srcdir)/navit -DMODULE=speech_cmdline
+if PLUGINS
modulespeech_LTLIBRARIES = libspeech_cmdline.la
+else
+noinst_LTLIBRARIES = libspeech_cmdline.la
+endif
libspeech_cmdline_la_SOURCES = speech_cmdline.c
libspeech_cmdline_la_LDFLAGS = -module -avoid-version @NAVIT_MODULE_LDFLAGS@