fix extensions build with Win8 SDK
Change-Id: I7c38722c98300f419e6129b46c89b68f46ce4173
This commit is contained in:
committed by
David Tardon
parent
5d0c35242b
commit
2be1fb4ead
@@ -38,6 +38,10 @@ $(eval $(call gb_Library_set_include,oleautobridge,\
|
||||
$$(INCLUDE) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,oleautobridge,\
|
||||
-LIBPATH:$(ATL_LIB) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_use_libraries,oleautobridge,\
|
||||
comphelper \
|
||||
cppuhelper \
|
||||
|
@@ -42,6 +42,10 @@ $(eval $(call gb_Library_set_include,oleautobridge2,\
|
||||
$$(INCLUDE) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,oleautobridge2,\
|
||||
-LIBPATH:$(ATL_LIB) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_use_libraries,oleautobridge2,\
|
||||
comphelper \
|
||||
cppuhelper \
|
||||
|
@@ -52,6 +52,7 @@ $(eval $(call gb_Library_add_exception_objects,so_activex,\
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,so_activex,\
|
||||
/DEF:$(SRCDIR)/extensions/source/activex/so_activex.def \
|
||||
-LIBPATH:$(ATL_LIB) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_use_system_win32_libs,so_activex,\
|
||||
|
@@ -55,6 +55,7 @@ $(eval $(call gb_Library_add_x64_generated_exception_objects,so_activex_x64,\
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,so_activex_x64,\
|
||||
/DEF:$(SRCDIR)/extensions/source/activex/so_activex.def \
|
||||
-LIBPATH:$(ATL_LIB)/amd64 \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_use_system_win32_libs,so_activex_x64,\
|
||||
|
@@ -10,12 +10,10 @@
|
||||
|
||||
#ifdef _ATL_STATIC_REGISTRY
|
||||
#include <statreg.h>
|
||||
#include <statreg.cpp>
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1300)
|
||||
#undef _DEBUG
|
||||
#endif
|
||||
#include <atlimpl.cpp>
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
#define STRICT
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0400
|
||||
#define _WIN32_WINNT 0x0403
|
||||
#endif
|
||||
#define _ATL_APARTMENT_THREADED
|
||||
#define _ATL_STATIC_REGISTRY
|
||||
|
@@ -360,7 +360,8 @@ $(call gb_Helper_abbreviate_dirs,\
|
||||
$(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \
|
||||
$(if $(filter YES,$(TARGETGUI)), -SUBSYSTEM:WINDOWS, -SUBSYSTEM:CONSOLE) \
|
||||
$(if $(filter YES,$(LIBRARY_X64)), -MACHINE:X64, -MACHINE:IX86) \
|
||||
$(if $(filter YES,$(LIBRARY_X64)), -LIBPATH:$(OUTDIR)/lib/x64 -LIBPATH:$(COMPATH)/lib/amd64 -LIBPATH:$(WINDOWS_SDK_HOME)/lib/x64,) \
|
||||
$(if $(filter YES,$(LIBRARY_X64)), -LIBPATH:$(OUTDIR)/lib/x64 -LIBPATH:$(COMPATH)/lib/amd64 -LIBPATH:$(WINDOWS_SDK_HOME)/lib/x64 \
|
||||
$(if $(filter 80,$(WINDOWS_SDK_VERSION)),-LIBPATH:$(WINDOWS_SDK_HOME)/lib/win8/um/x64,),) \
|
||||
$(T_LDFLAGS) \
|
||||
@$${RESPONSEFILE} \
|
||||
$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib))) \
|
||||
|
Reference in New Issue
Block a user