Skip to content

Commit

Permalink
lib-fts: Create library for development packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
thuovila authored and sirainen committed Jan 12, 2016
1 parent 46ce4d9 commit 40bdcc2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Expand Up @@ -69,6 +69,7 @@ install-exec-hook:
-e "s|^\(LIBDOVECOT_COMPRESS\)=.*$$|\1=-ldovecot-compression|" \
-e "s|^\(LIBDOVECOT_DSYNC\)=.*$$|\1=-ldovecot-dsync|" \
-e "s|^\(LIBDOVECOT_LDA\)=.*$$|\1=-ldovecot-lda|" \
-e "s|^\(LIBDOVECOT_LIBFTS\)=.*$$|\1=-ldovecot-fts|" \
-e "s|^\(LIBDOVECOT_STORAGE\)=.*$$|\1='-ldovecot-storage $(LINKED_STORAGE_LDADD)'|" \
-e "s|^\(LIBDOVECOT_INCLUDE\)=.*$$|\1=-I$(pkgincludedir)|" \
> $(DESTDIR)$(pkglibdir)/dovecot-config
Expand Down
8 changes: 8 additions & 0 deletions src/lib-fts/Makefile.am
Expand Up @@ -91,6 +91,14 @@ headers = \
pkginc_libdir=$(pkgincludedir)
pkginc_lib_HEADERS = $(headers)

deps=../lib-dovecot/libdovecot.la

pkglib_LTLIBRARIES = libdovecot-fts.la
libdovecot_fts_la_SOURCES =
libdovecot_fts_la_LIBADD = libfts.la $(deps)
libdovecot_fts_la_DEPENDENCIES = libfts.la $(deps)
libdovecot_fts_la_LDFLAGS = -export-dynamic

test_programs = \
$(ICU_TESTS) \
$(TEST_FTS_LANGUAGE) \
Expand Down

0 comments on commit 40bdcc2

Please sign in to comment.