mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-02 05:29:20 -06:00
Fix Windows build after introduction of the environment config file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19001 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ac4c65dd51
commit
fef687aa2f
@ -192,7 +192,7 @@ begin
|
||||
{ Create the gnucash.cmd file; #10 is the linefeed character and #13 CR }
|
||||
|
||||
{ If you make any changes here, you should probably also change the equivalent sections }
|
||||
{ in packaging/win32/install.sh, src/bin/gnucash-setup-env.in and src/bin/gnucash-setup-env-osx.in }
|
||||
{ in packaging/win32/install.sh, src/bin/environment*.in and src/bin/gnucash-setup-env-osx.in }
|
||||
FileName := appdir + '\bin\gnucash.cmd' ;
|
||||
FileString := 'setlocal'#13#10 ;
|
||||
FileString := FileString + 'chcp ' + ExpandConstant('{cm:LanguageCodePage}') + ''#13#10 ;
|
||||
|
@ -1375,12 +1375,12 @@ function make_install() {
|
||||
done
|
||||
|
||||
if [ -z $_skip_scripts ]; then
|
||||
# Try to fix the paths in the gnucash-setup-env script
|
||||
# Try to fix the paths in the environment config file
|
||||
qpushd $_BUILD_UDIR/src/bin
|
||||
rm gnucash-setup-env
|
||||
make PATH_SEPARATOR=";" \
|
||||
bindir="${_INSTALL_UDIR}/bin:${_INSTALL_UDIR}/lib:${_INSTALL_UDIR}/lib/gnucash:${_GNUTLS_UTIR}/bin:${_GMP_UDIR}/bin:${_GOFFICE_UDIR}/bin:${_LIBGSF_UDIR}/bin:${_PCRE_UDIR}/bin:${_GNOME_UDIR}/bin:${_GUILE_UDIR}/bin:${_WEBKIT_UDIR}/bin:${_REGEX_UDIR}/bin:${_AUTOTOOLS_UDIR}/bin:${AQBANKING_UPATH}:${_LIBOFX_UDIR}/bin:${_OPENSP_UDIR}/bin:${_LIBDBI_UDIR}/bin:${_SQLITE3_UDIR}/bin:${MYSQL_LIB_DIR}/lib:${PGSQL_DIR}/lib:${PGSQL_DIR}/bin" \
|
||||
gnucash-setup-env gnucash-valgrind
|
||||
rm environment
|
||||
make \
|
||||
bindir="${_INSTALL_UDIR}/bin;${_INSTALL_UDIR}/lib;${_INSTALL_UDIR}/lib/gnucash;${_GNUTLS_UDIR}/bin;${_GMP_UDIR}/bin;${_GOFFICE_UDIR}/bin;${_LIBGSF_UDIR}/bin;${_PCRE_UDIR}/bin;${_GNOME_UDIR}/bin;${_GUILE_UDIR}/bin;${_WEBKIT_UDIR}/bin;${_REGEX_UDIR}/bin;${_AUTOTOOLS_UDIR}/bin;${AQBANKING_UPATH};${_LIBOFX_UDIR}/bin;${_OPENSP_UDIR}/bin;${_LIBDBI_UDIR}/bin;${_SQLITE3_UDIR}/bin;${MYSQL_LIB_DIR}/lib;${PGSQL_DIR}/lib;${PGSQL_DIR}/bin" \
|
||||
environment
|
||||
qpopd
|
||||
fi
|
||||
|
||||
@ -1414,8 +1414,8 @@ function make_install() {
|
||||
if [ -z $_skip_scripts ]; then
|
||||
# Create a startup script that works without the msys shell
|
||||
# If you make any changes here, you should probably also change
|
||||
# the equivalent sections in packaging/win32/gnucash.iss.in,
|
||||
# src/bin/gnucash-setup-env.in and src/bin/gnucash-setup-env-osx.in
|
||||
# the equivalent sections in packaging/win32/gnucash.iss.in, and
|
||||
# src/bin/environment*.in
|
||||
qpushd $_INSTALL_UDIR/bin
|
||||
echo "setlocal" > gnucash.cmd
|
||||
echo "set PATH=${INSTALL_DIR}\\bin;${INSTALL_DIR}\\lib;${INSTALL_DIR}\\lib\\gnucash;${GNUTLS_DIR}\\bin;${GMP_DIR}\\bin;${GOFFICE_DIR}\\bin;${LIBGSF_DIR}\\bin;${PCRE_DIR}\\bin;${WEBKIT_DIR}\\bin;${GNOME_DIR}\\bin;${GUILE_DIR}\\bin;${REGEX_DIR}\\bin;${AUTOTOOLS_DIR}\\bin;${AQBANKING_PATH};${LIBOFX_DIR}\\bin;${OPENSP_DIR}\\bin;${LIBDBI_DIR}\\bin;${SQLITE3_DIR}\\bin;${MYSQL_LIB_DIR}\\lib;${PGSQL_DIR}\\lib;${PGSQL_DIR}\\bin;%PATH%" >> gnucash.cmd
|
||||
|
Loading…
Reference in New Issue
Block a user