gnucash-on-windows master: Help compilation in release directories.

John Ralls jralls at code.gnucash.org
Fri Dec 19 13:32:30 EST 2014


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/441e5069 (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/2e076aa0 (commit)



commit 441e5069d1668dbb8c03ddbb6ba478e072230b49
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Dec 19 13:55:27 2014 -0800

    Help compilation in release directories.
    
    Something about a long LDFLAGS string causes the shell to barf when
    invoking gcc so that the shell crashes. This isn't a problem when
    the root path is /c/gcdev, but it is when the path is
    /c/gcdev/gnucash-2.6.x. Leaving off -L/mingw/lib shortens the string just
    enough that it's able to run without crashing.
    
    -L/mingw/lib isn't necessary anyway, since it's part of the system link
    path.

diff --git a/install-impl.sh b/install-impl.sh
index bcba8ed..eabba22 100644
--- a/install-impl.sh
+++ b/install-impl.sh
@@ -1337,7 +1337,7 @@ function inst_gnucash() {
             --enable-locale-specific-tax \
             ${_EXTRA_OPTIONS} \
             CPPFLAGS="${REGEX_CPPFLAGS} ${GNOME_CPPFLAGS} ${GUILE_CPPFLAGS} ${LIBDBI_CPPFLAGS} ${KTOBLZCHECK_CPPFLAGS} ${HH_CPPFLAGS} ${LIBSOUP_CPPFLAGS} -D_WIN32 ${EXTRA_CFLAGS}" \
-            LDFLAGS="${REGEX_LDFLAGS} ${GNOME_LDFLAGS} ${GUILE_LDFLAGS} ${LIBDBI_LDFLAGS} ${KTOBLZCHECK_LDFLAGS} ${HH_LDFLAGS} -L${_SQLITE3_UDIR}/lib -L${_ENCHANT_UDIR}/lib -L${_LIBXSLT_UDIR}/lib -L${_MINGW_LDDIR}" \
+            LDFLAGS="${REGEX_LDFLAGS} ${GNOME_LDFLAGS} ${GUILE_LDFLAGS} ${LIBDBI_LDFLAGS} ${KTOBLZCHECK_LDFLAGS} ${HH_LDFLAGS} -L${_SQLITE3_UDIR}/lib -L${_ENCHANT_UDIR}/lib -L${_LIBXSLT_UDIR}/lib" \
             PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
 
         make



Summary of changes:
 install-impl.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list