pexports is only available if MSVC is installed. Encapsulate it in a conditional.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19042 57a11ea4-9604-0410-9ed3-97b8803252fd
pull/1/head
Geert Janssens 16 years ago
parent 0ee0b2d671
commit 97e2de2a5f

@ -394,7 +394,10 @@ function inst_guile() {
#endif
EOF
# Also, for MSVC compiler we need to create an import library
pexports $_GUILE_UDIR/bin/libguile.dll > $_GUILE_UDIR/lib/libguile.def
if [ x"$(which pexports.exe > /dev/null 2>&1)" != x ]
then
pexports $_GUILE_UDIR/bin/libguile.dll > $_GUILE_UDIR/lib/libguile.def
fi
${DLLTOOL} -d $_GUILE_UDIR/lib/libguile.def -D $_GUILE_UDIR/bin/libguile.dll -l $_GUILE_UDIR/lib/libguile.lib
# Also, for MSVC compiler we need to slightly modify the gc.h header
GC_H=$_GUILE_UDIR/include/libguile/gc.h

Loading…
Cancel
Save