* mu.c => mu.cc: force c++-linking
This commit is contained in:
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
AC_INIT([mu],[0.7dev],[http://www.djcbsoftware.nl/code/mu])
|
AC_INIT([mu],[0.7dev],[http://www.djcbsoftware.nl/code/mu])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_SRCDIR([src/mu.c])
|
AC_CONFIG_SRCDIR([src/mu.cc])
|
||||||
AM_INIT_AUTOMAKE([dist-bzip2])
|
AM_INIT_AUTOMAKE([dist-bzip2])
|
||||||
|
|
||||||
# we set the set the version of the Xapian database layout here; it
|
# we set the set the version of the Xapian database layout here; it
|
||||||
|
|||||||
@ -32,8 +32,10 @@ bin_PROGRAMS= \
|
|||||||
noinst_LTLIBRARIES= \
|
noinst_LTLIBRARIES= \
|
||||||
libmu.la
|
libmu.la
|
||||||
|
|
||||||
|
# note, mu.cc is only '.cc' and not '.c' because libmu must explicitly
|
||||||
|
# be linked as c++, not c.
|
||||||
mu_SOURCES= \
|
mu_SOURCES= \
|
||||||
mu.c
|
mu.cc
|
||||||
|
|
||||||
mu_LDADD= \
|
mu_LDADD= \
|
||||||
libmu.la
|
libmu.la
|
||||||
@ -41,6 +43,10 @@ mu_LDADD= \
|
|||||||
libmu_la_SOURCES= \
|
libmu_la_SOURCES= \
|
||||||
mu-cmd.c \
|
mu-cmd.c \
|
||||||
mu-cmd.h \
|
mu-cmd.h \
|
||||||
|
mu-cmd-find.h \
|
||||||
|
mu-cmd-find.c \
|
||||||
|
mu-cmd-index.h \
|
||||||
|
mu-cmd-index.c \
|
||||||
mu-config.c \
|
mu-config.c \
|
||||||
mu-config.h \
|
mu-config.h \
|
||||||
mu-index.c \
|
mu-index.c \
|
||||||
|
|||||||
Reference in New Issue
Block a user