File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed
Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -644,9 +644,11 @@ LIBDOVECOT_LIBLANG='$(top_builddir)/src/lib-language/libdovecot-language.la'
644644LIBDOVECOT_OPENSSL='$(top_builddir)/src/lib-ssl-iostream/libssl_iostream_openssl.la'
645645LIBDOVECOT_OPENSSL_DEPS="$LIBDOVECOT_OPENSSL"
646646
647- LIBDOVECOT_TEST_LIBS="\$(LIBPCRE_LIBS) \$(ZLIB_LIBS) \$(MODULE_LIBS) \$(DLLIB) -lm"
647+ LIBDOVECOT_TEST_LIBS="\$(LIBPCRE_LIBS_STATIC) \$( LIBPCRE_LIBS) \$(ZLIB_LIBS_STATIC ) \$(ZLIB_LIBS) \$(MODULE_LIBS) \$(DLLIB) -lm"
648648
649649AC_SUBST ( LIBDOVECOT )
650+ AC_SUBST ( LIBPCRE_LIBS_STATIC )
651+ AC_SUBST ( ZLIB_LIBS_STATIC )
650652AC_SUBST ( LIBDOVECOTTEST_LIBS )
651653AC_SUBST ( LIBDOVECOT_LA_LIBS )
652654AC_SUBST ( LIBDOVECOT_DEPS )
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ libdovecot_la_SOURCES =
55libdovecot_la_LIBADD = \
66 $(LIBDOVECOT_LA_LIBS ) \
77 $(MODULE_LIBS ) \
8+ $(ZLIB_LIBS_STATIC ) \
9+ $(ZLIB_LIBS ) \
10+ $(LIBPCRE_LIBS_STATIC ) \
811 $(LIBPCRE_LIBS ) \
912 $(RELRO_LDFLAGS )
1013
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ noinst_LTLIBRARIES=libdregex.la
2323
2424if BUILD_LIBREGEX
2525libdregex_la_SOURCES = regex.c
26- libdregex_la_LIBADD = $(LIBPCRE_LIBS )
26+ libdregex_la_LIBADD = $(LIBPCRE_LIBS_STATIC ) $( LIBPCRE_LIBS )
2727
2828EXTRA_DIST =
2929
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ $(srcdir)/unicode-data-tables.c $(srcdir)/unicode-data-tables.h \
8383 $(srcdir)/unicode-ucd-compile.py $(UCD_FILES)
8484 $(AM_V_GEN)$(PYTHON) $(srcdir)/unicode-ucd-compile.py $(UCD_DIR) $(srcdir)
8585
86- liblib_la_LIBADD = $(LIBUNWIND_LIBS ) $(ZLIB_LIBS )
86+ liblib_la_LIBADD = $(LIBUNWIND_LIBS ) $(ZLIB_LIBS_STATIC ) $( ZLIB_LIBS )
8787liblib_la_SOURCES = \
8888 array.c \
8989 aqueue.c \
You can’t perform that action at this time.
0 commit comments