Changeset 74653 in vbox
- Timestamp:
- Oct 7, 2018 12:49:57 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r74652 r74653 3947 3947 # SDKs for external libraries. 3948 3948 # 3949 SDK_VBOX_LIBXML2 = .3950 SDK_VBOX_LIBXML2_INCS ?= $(PATH_ROOT)/src/libs/libxml2-2.9.4/include3951 SDK_VBOX_LIBXML2_DEFS ?= _REENTRANT3952 SDK_VBOX_LIBXML2_DEFS.win += WIN32 _WINDOWS _MBCS3953 # note: no linking to LIB here, we do that explicitly in src/VBox/Runtime/Makefile.kmk to link3954 # libxml against VBoxRT3949 SDK_VBOX_LIBXML2 = . 3950 SDK_VBOX_LIBXML2_INCS ?= $(PATH_ROOT)/src/libs/libxml2-2.9.4/include 3951 SDK_VBOX_LIBXML2_DEFS ?= _REENTRANT LIBXML_STATIC LIBXML_STATIC_FOR_DLL 3952 SDK_VBOX_LIBXML2_DEFS.win ?= WIN32 _WINDOWS _MBCS HAVE_WIN32_THREADS HAVE_COMPILER_TLS 3953 # Note: no linking to LIB here, we do that explicitly in src/VBox/Runtime/Makefile.kmk to link 3954 # libxml against VBoxRT 3955 3955 3956 3956 SDK_VBOX_LIBPNG = . -
trunk/configure
r74325 r74653 659 659 660 660 # 661 # Check for libxml2, needed by VBoxSettings andRuntime.661 # Check for libxml2, needed by the Runtime. 662 662 # 2.6.24 is known to NOT work, 2.6.26 is known to work (there is no 2.6.25 release) 663 663 # … … 693 693 if test_compile "$LIBXML2 $LIBPTHREAD $I_INCXML2" xml2 xml2; then 694 694 if test_execute; then 695 cnf_append "SDK_VBOX_LIBXML2_DEFS" "_REENTRANT" ## @todo get defines from --cflags 695 696 cnf_append "SDK_VBOX_LIBXML2_INCS" "$INCXML2" 696 697 cnf_append "SDK_VBOX_LIBXML2_LIBS" "`strip_l "$LIBXML2"`" … … 726 727 if test_compile "$LIBXML2 $LIBPTHREAD $I_INCXML2" xml2 xml2; then 727 728 if test_execute; then 729 cnf_append "SDK_VBOX_LIBXML2_DEFS" "_REENTRANT" ## @todo get defines from --cflags 728 730 cnf_append "SDK_VBOX_LIBXML2_INCS" "$INCXML2" 729 731 cnf_append "SDK_VBOX_LIBXML2_LIBS" "`strip_l "$LIBXML2"`" -
trunk/configure.vbs
r73854 r74653 1821 1821 1822 1822 strPathXml2 = UnixSlashes(PathAbs(strPathXml2)) 1823 CfgPrint "SDK_VBOX_LIBXML2_DEFS := _REENTRANT" 1823 1824 CfgPrint "SDK_VBOX_LIBXML2_INCS := " & strPathXml2 & "/include" 1824 1825 CfgPrint "SDK_VBOX_LIBXML2_LIBS := " & strPathXml2 & "/lib/libxml2.lib" -
trunk/src/VBox/Runtime/Makefile.kmk
r74652 r74653 2169 2169 -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxRT.dylib 2170 2170 VBoxRT_LDFLAGS.win = /MANIFEST \ 2171 /delayload:gdi32.dll \2172 2171 /delayload:user32.dll \ 2173 2172 /delayload:shell32.dll \ -
trunk/src/libs/libxml2-2.9.4/Makefile.kmk
r66908 r74653 26 26 VBox-libxml2_DEFS = _REENTRANT # the latter triggers thread support, see xmlversion-default.h and win32xmlversion.h. 27 27 VBox-libxml2_DEFS.win = WIN32 _WINDOWS _MBCS _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE \ 28 LIBXML_STATIC _FOR_DLL HAVE_WIN32_THREADS HAVE_ZLIB_H28 LIBXML_STATIC LIBXML_STATIC_FOR_DLL HAVE_WIN32_THREADS HAVE_COMPILER_TLS HAVE_ZLIB_H 29 29 VBox-libxml2_CFLAGS.win.amd64 = -wd4267 30 30 VBox-libxml2_CFLAGS.win += -wd4701 # potentially uninitialized local variable 'l' used -
trunk/src/libs/libxml2-2.9.4/libxml.h
r65950 r74653 116 116 #endif 117 117 #endif 118 #if !defined(PIC) && !defined(NOLIBTOOL) 118 #if !defined(PIC) && !defined(NOLIBTOOL) /* VBox: */ && !defined(LIBXML_STATIC) 119 119 # define LIBXML_STATIC 120 120 #endif
Note:
See TracChangeset
for help on using the changeset viewer.