support cross-compilation for windows

This commit is contained in:
Vitor Santos Costa
2014-01-23 01:46:16 +00:00
parent fe6142ca69
commit 0391988788
8 changed files with 99 additions and 28 deletions

View File

@@ -51,6 +51,12 @@ elif test -d "$cudd_dir/lib"; then
LIBS="$LIBS -L $cudd_dir/lib"
fi
if test $i_am_cross_compiling = yes
then
#mingw: we know where things are
CUDD_LDFLAGS="-L $cudd_dir/lib -lall_cudd"
else
if test -d "$cudd_dir/util"; then
LIBS="$LIBS -L $cudd_dir/util"
fi
@@ -96,6 +102,7 @@ EOF
LIBS="$oldlibs"
fi
fi
AC_SUBST(ENABLE_CUDD)