libxml uses YAP internals

This commit is contained in:
Vítor Santos Costa 2016-02-29 08:00:00 +00:00
parent 638f784f81
commit b384c40213
1 changed files with 4 additions and 1 deletions

View File

@ -36,8 +36,11 @@ INCLUDE_DIRECTORIES(
SET ( LIBXML2_SOURCES
xml2_yap.c
)
if (WIN32)
ADD_LIBRARY(libxml2 OBJECT ${LIBXML2_SOURCES} )
else (WIN32)
ADD_LIBRARY(libxml2 SHARED ${LIBXML2_SOURCES} )
endif(WIN32)
if(DEFINED YAP_MAJOR_VERSION)
TARGET_LINK_LIBRARIES(libxml2