diff options
| -rw-r--r-- | ports/ecsutil/CONTROL | 2 | ||||
| -rw-r--r-- | ports/ecsutil/NoLibSyms.patch | 41 | ||||
| -rw-r--r-- | ports/ecsutil/portfile.cmake | 10 |
3 files changed, 49 insertions, 4 deletions
diff --git a/ports/ecsutil/CONTROL b/ports/ecsutil/CONTROL index fada181ac..c96e1b0b8 100644 --- a/ports/ecsutil/CONTROL +++ b/ports/ecsutil/CONTROL @@ -1,4 +1,4 @@ Source: ecsutil
-Version: 1.0.1.2-1
+Version: 1.0.1.4
Description: Native Windows SDK for accessing ECS via the S3 HTTP protocol.
Build-Depends: atlmfc
diff --git a/ports/ecsutil/NoLibSyms.patch b/ports/ecsutil/NoLibSyms.patch new file mode 100644 index 000000000..e4f7e77bd --- /dev/null +++ b/ports/ecsutil/NoLibSyms.patch @@ -0,0 +1,41 @@ + ECSUtil/ECSUtil.vcxproj | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/ECSUtil/ECSUtil.vcxproj b/ECSUtil/ECSUtil.vcxproj +index 05c5726..4b5de57 100644 +--- a/ECSUtil/ECSUtil.vcxproj ++++ b/ECSUtil/ECSUtil.vcxproj +@@ -289,7 +289,7 @@ + <SDLCheck>true</SDLCheck> + <PreprocessToFile>false</PreprocessToFile> + <PreprocessKeepComments>false</PreprocessKeepComments> +- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> ++ <DebugInformationFormat>None</DebugInformationFormat> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> +@@ -317,7 +317,7 @@ + <SDLCheck>true</SDLCheck> + <PreprocessToFile>false</PreprocessToFile> + <PreprocessKeepComments>false</PreprocessKeepComments> +- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> ++ <DebugInformationFormat>None</DebugInformationFormat> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> +@@ -462,6 +462,7 @@ + <SDLCheck>true</SDLCheck> + <PreprocessToFile>false</PreprocessToFile> + <PreprocessKeepComments>false</PreprocessKeepComments> ++ <DebugInformationFormat>None</DebugInformationFormat> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> +@@ -493,6 +494,7 @@ + <SDLCheck>true</SDLCheck> + <PreprocessToFile>false</PreprocessToFile> + <PreprocessKeepComments>false</PreprocessKeepComments> ++ <DebugInformationFormat>None</DebugInformationFormat> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> diff --git a/ports/ecsutil/portfile.cmake b/ports/ecsutil/portfile.cmake index 4a8e48b2b..0dc5fa8fa 100644 --- a/ports/ecsutil/portfile.cmake +++ b/ports/ecsutil/portfile.cmake @@ -28,10 +28,10 @@ endif() vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO EMCECS/ecs-object-client-windows-cpp
- REF v1.0.1.2
- SHA512 ee6c9086111f9cb4a3b9b0645a6a8921bae1d3e8fba0d054d824935b0ff82a57db5c1476183202694afe33f89bfc47db1ef91696a739a1a43a1e2411e4361e6f
+ REF v1.0.1.4
+ SHA512 796ed227268cd92fce3eba2a842260d552222900b1df1261200032a7678a48776388dd566f408df2ee4dbc0cee39b70090d524a99e6741e0c8f92594d207761a
HEAD_REF master
- PATCHES disable-setversion.patch
+ PATCHES NoLibSyms.patch
)
vcpkg_install_msbuild(
@@ -44,6 +44,10 @@ vcpkg_install_msbuild( DEBUG_CONFIGURATION ${ECSUtil_CONFIGURATION_DEBUG}
)
+if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
+endif()
+
file(COPY ${SOURCE_PATH}/ECSUtil DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN *.h)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/ECSUtil/res ${CURRENT_PACKAGES_DIR}/tools)
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/NatvisAddIn.dll ${CURRENT_PACKAGES_DIR}/debug/bin/NatvisAddIn.dll)
|
