mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user