-DHAVE_WIN32_THREADS
-D_REENTRANT
-D_WINSOCKAPI_
- -DLIBXML_STATIC)
-
-add_definitions(-D_DLL -D__USE_CRTIMP)
+ -DLIBXML_STATIC
+ -D_DLL -D__USE_CRTIMP)
add_library(libxslt SHARED
attributes.c
target_link_libraries(libxslt libxml2)
add_importlibs(libxslt msvcrt ws2_32 kernel32)
+if(MSVC)
+add_importlibs(libxslt ntdll)
+endif()
add_dependencies(libxslt psdk buildno_header)
+
+add_cab_target(libxslt 1)