mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Win32 build: libguile needs minor tweaking for MSVC compatibility.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18774 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
11
packaging/win32/install.sh
Executable file → Normal file
11
packaging/win32/install.sh
Executable file → Normal file
@@ -381,6 +381,17 @@ function inst_guile() {
|
||||
qpopd
|
||||
guile -c '(use-modules (srfi srfi-39))' &&
|
||||
guile -c "(use-modules (ice-9 slib)) (require 'printf)" || die "guile not installed correctly"
|
||||
|
||||
# If this libguile is used from MSVC compiler, we must
|
||||
# deactivate some macros of scmconfig.h again.
|
||||
SCMCONFIG_H=$_GUILE_UDIR/include/libguile/scmconfig.h
|
||||
cat >> ${SCMCONFIG_H} <<EOF
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# undef HAVE_STDINT_H
|
||||
# undef HAVE_INTTYPES_H
|
||||
#endif
|
||||
EOF
|
||||
rm -rf ${TMP_UDIR}/guile-*
|
||||
fi
|
||||
if [ "$CROSS_COMPILE" = "yes" ]; then
|
||||
|
||||
Reference in New Issue
Block a user