From a1b9f96c6878d06c5b803ccdcea26f5fcc971365 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 5 Aug 2011 14:13:21 +0800 Subject: make libpinyin installable --- src/storage/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/storage') diff --git a/src/storage/Makefile.am b/src/storage/Makefile.am index 8c10cdf..f508b82 100644 --- a/src/storage/Makefile.am +++ b/src/storage/Makefile.am @@ -19,7 +19,9 @@ INCLUDES = -I$(top_srcdir)/src/include \ -I$(top_srcdir)/src/storage \ @GLIB2_CPPFLAGS@ -noinst_HEADERS = pinyin_large_table.h \ +libpinyinincludedir = $(includedir)/libpinyin-@LIBPINYIN_BINARY_VERSION@ + +libpinyininclude_HEADERS= pinyin_large_table.h \ pinyin_base.h \ pinyin_phrase.h \ phrase_index.h \ @@ -31,6 +33,8 @@ noinst_HEADERS = pinyin_large_table.h \ noinst_LTLIBRARIES = libstorage.la +libstorage_la_CXXFLAGS = "-fPIC" + libstorage_la_LDFLAGS = -static libstorage_la_SOURCES = pinyin_base.cpp \ -- cgit