Fix MSVC build: LIB is not in environment so set it for the nmake command

Change-Id: Ic2f43692f003f6d3a88681d61fe21f52276b0b7b
This commit is contained in:
Tor Lillqvist 2012-10-30 14:50:44 +02:00
parent 1f2c5dc6be
commit 5d95db97b8

View file

@ -48,7 +48,7 @@ else ifeq ($(COM),MSC)
$(call gb_ExternalProject_get_state_target,curl,build):
cd $(EXTERNAL_WORKDIR)/lib \
&& MAKEFLAGS= && LIB="$(ILIB)" && nmake -f Makefile.vc9 cfg=release-dll \
&& MAKEFLAGS= LIB="$(ILIB)" nmake -f Makefile.vc9 cfg=release-dll \
EXCFLAGS="/EHa /Zc:wchar_t- /D_CRT_SECURE_NO_DEPRECATE $(SOLARINC)" $(if $(filter X86_64,$(CPUNAME)),MACHINE=X64) \
&& touch $@