* mu.c => mu.cc: force c++-linking

This commit is contained in:
Dirk-Jan C. Binnema 2010-01-31 12:10:21 +02:00
parent d88660df59
commit a2fd42c8a2
3 changed files with 8 additions and 2 deletions

View File

@ -16,7 +16,7 @@
AC_INIT([mu],[0.7dev],[http://www.djcbsoftware.nl/code/mu])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/mu.c])
AC_CONFIG_SRCDIR([src/mu.cc])
AM_INIT_AUTOMAKE([dist-bzip2])
# we set the set the version of the Xapian database layout here; it

View File

@ -32,8 +32,10 @@ bin_PROGRAMS= \
noinst_LTLIBRARIES= \
libmu.la
# note, mu.cc is only '.cc' and not '.c' because libmu must explicitly
# be linked as c++, not c.
mu_SOURCES= \
mu.c
mu.cc
mu_LDADD= \
libmu.la
@ -41,6 +43,10 @@ mu_LDADD= \
libmu_la_SOURCES= \
mu-cmd.c \
mu-cmd.h \
mu-cmd-find.h \
mu-cmd-find.c \
mu-cmd-index.h \
mu-cmd-index.c \
mu-config.c \
mu-config.h \
mu-index.c \

View File