Navigation Menu

Skip to content

Commit

Permalink
use libgroonga_storage_engine for static library name.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Sep 2, 2010
1 parent 65c0923 commit 181fd4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Makefile.am
Expand Up @@ -4,17 +4,17 @@ ACLOCAL_AMFLAGS = $$ACLOCAL_ARGS

noinst_HEADERS = mrnsys.h ha_mroonga.h

pkgplugin_LTLIBRARIES = ha_groonga.la
plugin_LTLIBRARIES = ha_groonga.la
ha_groonga_la_LDFLAGS = -module $(GROONGA_LIBS) $(MECAB_LIBS)
ha_groonga_la_CXXFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
ha_groonga_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
ha_groonga_la_SOURCES = ha_mroonga.cc ha_mroonga.h mrnsys.c mrnsys.h
ha_groonga_la_SOURCES = ha_mroonga.cc mrnsys.c

pkgplugin_LIBRARIES = ha_groonga.a
ha_groonga_a_LDFLANGS = $(GROONGA_LIBS) $(MECAB_LIBS)
ha_groonga_a_CXXFLAGS = $(AM_CFLAGS)
ha_groonga_a_CFLAGS = $(AM_CFLAGS)
ha_groonga_a_SOURCES = ha_mroonga.cc mrnsys.c
plugin_LIBRARIES = libgroonga_storage_engine.a
libgroonga_storage_engine_a_LDFLANGS = $(GROONGA_LIBS) $(MECAB_LIBS)
libgroonga_storage_engine_a_CXXFLAGS = $(AM_CFLAGS)
libgroonga_storage_engine_a_CFLAGS = $(AM_CFLAGS)
libgroonga_storage_engine_a_SOURCES = ha_mroonga.cc mrnsys.c

SUBDIRS = test apt

Expand Down
2 changes: 1 addition & 1 deletion plug.in
Expand Up @@ -2,5 +2,5 @@ MYSQL_STORAGE_ENGINE(groonga,,[groonga storage engine],
[Fulltext search, column base],
[max,max-no-ndb])
MYSQL_PLUGIN_DIRECTORY(groonga, [storage/groonga-storage-engine])
MYSQL_PLUGIN_STATIC(groonga, [ha_groonga.a])
MYSQL_PLUGIN_STATIC(groonga, [libgroonga_storage_engine.a])
MYSQL_PLUGIN_DYNAMIC(groonga, [ha_groonga.la])

0 comments on commit 181fd4b

Please sign in to comment.