Kaydet (Commit) 8ecb2c52 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

If Mozab is built, look for VS2005 dlls

Change-Id: Id5585ff27af8e743adbecbdad3587db9224a394b
üst 9ec4fc4d
......@@ -398,6 +398,8 @@ export MSPUB_CFLAGS=$(gb_SPACE)@MSPUB_CFLAGS@
export MSPUB_LIBS=$(gb_SPACE)@MSPUB_LIBS@
export MSVC_DLLS=@MSVC_DLLS@
export MSVC_DLL_PATH=@MSVC_DLL_PATH@
export MSVC80_DLLS=@MSVC80_DLLS@
export MSVC80_DLL_PATH=@MSVC80_DLL_PATH@
export MYSQLC_MAJOR=@MYSQLC_MAJOR@
export MYSQLC_MICRO=@MYSQLC_MICRO@
export MYSQLC_MINOR=@MYSQLC_MINOR@
......
......@@ -8102,16 +8102,24 @@ dnl ===================================================================
if test "$_os" = "WINNT"; then
AC_MSG_CHECKING([whether to enable build of Mozilla addressbook connectivity driver for Windows])
if test "$enable_win_mozab_driver" = "yes" -a "$WITH_MINGW" != "YES" ; then
AC_MSG_RESULT([yes])
WITH_MOZAB4WIN=YES
AC_MSG_RESULT([yes, internal (old windows mozab driver)])
BUILD_TYPE="$BUILD_TYPE MOZ"
MSVC80_DLLS="msvcp80.dll msvcr80.dll Microsoft.VC80.CRT.manifest"
MSVC80_DLL_PATH=`cygpath -u "$TARFILE_LOCATION"`
for dll in $MSVC80_DLLS; do
if ! test -f "$MSVC80_DLL_PATH/$dll"; then
AC_MSG_ERROR([can not find $dll in $MSVC80_DLL_PATH needed for the pre-built Mozilla libraries])
fi
done
else
AC_MSG_RESULT([no])
WITH_MOZAB4WIN=NO
fi
fi
AC_SUBST(WITH_MOZAB4WIN)
AC_SUBST(MSVC80_DLLS)
AC_SUBST(MSVC80_DLL_PATH)
dnl ===================================================================
dnl Check for system NSS
......
......@@ -27,6 +27,7 @@ $(eval $(call gb_Module_add_targets,external,\
Package_dbghelp \
Package_msms \
Package_msvc_dlls \
Package_msvc80_dlls \
))
endif
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,msvc80_dlls,$(MSVC80_DLL_PATH)))
$(eval $(call gb_Package_add_files,msvc80_dlls,bin,\
$(MSVC80_DLLS) \
))
# vim:set shiftwidth=4 tabstop=4 noexpandtab:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment