diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-04-23 08:35:13 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-04-23 08:35:13 -0700 |
| commit | 6242e8f7bd76b82a062ccf4146d44e571a189dbc (patch) | |
| tree | bcec53eb0f165ff45d9e016b58e765bea22f097d | |
| parent | c70da3bc3aecb56c7b10d26e9d6417330a128451 (diff) | |
| download | vcpkg-6242e8f7bd76b82a062ccf4146d44e571a189dbc.tar.gz vcpkg-6242e8f7bd76b82a062ccf4146d44e571a189dbc.zip | |
[xalan-c] Add check for static/static
| -rw-r--r-- | ports/xalan-c/CONTROL | 2 | ||||
| -rw-r--r-- | ports/xalan-c/portfile.cmake | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/ports/xalan-c/CONTROL b/ports/xalan-c/CONTROL index 188c6bd44..5936fc2f5 100644 --- a/ports/xalan-c/CONTROL +++ b/ports/xalan-c/CONTROL @@ -1,4 +1,4 @@ Source: xalan-c -Version: 1.11 +Version: 1.11-1 Description: Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types Build-Depends: xerces-c diff --git a/ports/xalan-c/portfile.cmake b/ports/xalan-c/portfile.cmake index ac076475e..55dd9f143 100644 --- a/ports/xalan-c/portfile.cmake +++ b/ports/xalan-c/portfile.cmake @@ -10,6 +10,15 @@ # VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm) # +if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") + message(STATUS "Only DLL builds are currently supported.") + set(VCPKG_LIBRARY_LINKAGE "dynamic") +endif() + +if(VCPKG_CRT_LINKAGE STREQUAL "static") + message(FATAL_ERROR "Only dynamic linking against the CRT is currently supported.") +endif() + include(vcpkg_common_functions) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/xalan-c-1.11) vcpkg_download_distfile(ARCHIVE |
