mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add REGEX_LIBS linker flag that is needed on win32 platform
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14743 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
13
configure.in
13
configure.in
@@ -1401,6 +1401,9 @@ then
|
||||
macro_s_isreg=no])
|
||||
AC_MSG_RESULT($macro_s_isreg)
|
||||
|
||||
##################################################
|
||||
# Check for win32 platform
|
||||
##################################################
|
||||
AC_MSG_CHECKING([for native Win32])
|
||||
case $host in
|
||||
*-*-mingw*)
|
||||
@@ -1425,6 +1428,16 @@ then
|
||||
AC_MSG_RESULT($platform_win32)
|
||||
AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = yes)
|
||||
|
||||
##################################################
|
||||
# regex needs its own linker flag on win32 platform
|
||||
##################################################
|
||||
if test "$platform_win32" = yes; then
|
||||
REGEX_LIBS="-lregex"
|
||||
else
|
||||
REGEX_LIBS=""
|
||||
fi
|
||||
AC_SUBST(REGEX_LIBS)
|
||||
|
||||
##################################################
|
||||
# Checks for gtk-doc and docbook-tools
|
||||
##################################################
|
||||
|
||||
@@ -18,6 +18,7 @@ libgncqof_backend_qsf_la_LDFLAGS = -module -avoid-version
|
||||
libgncqof_backend_qsf_la_LIBADD = \
|
||||
${QOF_LIBS} \
|
||||
${GLIB_LIBS} \
|
||||
${REGEX_LIBS} \
|
||||
${LIBXML2_LIBS}
|
||||
|
||||
qsfschemadir = $(QOF_XML_DIR)
|
||||
|
||||
@@ -3,6 +3,7 @@ lib_LTLIBRARIES = libgncqof.la
|
||||
libgncqof_la_LDFLAGS= -version-info $(LIBQOF_LIBRARY_VERSION)
|
||||
libgncqof_la_LIBADD= \
|
||||
$(GLIB_LIBS) \
|
||||
$(REGEX_LIBS) \
|
||||
$(top_builddir)/lib/libc/libc-missing.la
|
||||
|
||||
AM_CFLAGS = \
|
||||
|
||||
@@ -109,6 +109,7 @@ libgncmod_engine_la_LIBADD = \
|
||||
../core-utils/libcore-utils.la \
|
||||
${G_WRAP_LINK_ARGS} \
|
||||
${QOF_LIBS} \
|
||||
${REGEX_LIBS} \
|
||||
${GNUCASH_ENGINE_BASE_LIBS} \
|
||||
${top_builddir}/lib/libc/libc-missing.la
|
||||
|
||||
|
||||
@@ -62,6 +62,7 @@ libgncmod_gnome_search_la_LIBADD = \
|
||||
${GTKHTML_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${GLIB_LIBS} \
|
||||
${REGEX_LIBS} \
|
||||
${QOF_LIBS} \
|
||||
${GNOME_PRINT_LIBS}
|
||||
|
||||
|
||||
@@ -189,6 +189,7 @@ libgncmod_gnome_utils_la_LIBADD = \
|
||||
${GSF_LIBS} \
|
||||
${QOF_LIBS} \
|
||||
${GOFFICE_LIBS} \
|
||||
${REGEX_LIBS} \
|
||||
${LIBXML2_LIBS}
|
||||
|
||||
nodist_libgw_gnome_utils_la_SOURCES = gw-gnome-utils.c
|
||||
|
||||
@@ -48,6 +48,7 @@ libgncmod_generic_import_la_LIBADD = \
|
||||
${GNOME_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${QOF_LIBS} \
|
||||
${REGEX_LIBS} \
|
||||
${GLIB_LIBS}
|
||||
|
||||
gladedir = ${GNC_GLADE_DIR}
|
||||
|
||||
@@ -23,6 +23,7 @@ libgncmod_qif_la_LIBADD = \
|
||||
${top_builddir}/src/import-export/libgncmod-generic-import.la \
|
||||
${top_builddir}/src/engine/libgncmod-engine.la \
|
||||
${QOF_LIBS} \
|
||||
${REGEX_LIBS} \
|
||||
${GLIB_LIBS}
|
||||
|
||||
AM_CFLAGS = \
|
||||
|
||||
Reference in New Issue
Block a user