diff --git a/ports/easyhook/portfile.cmake b/ports/easyhook/portfile.cmake index 378c2d5d04..5541462818 100644 --- a/ports/easyhook/portfile.cmake +++ b/ports/easyhook/portfile.cmake @@ -19,10 +19,21 @@ else() message(FATAL_ERROR "Unsupported architecture: ${VCPKG_TARGET_ARCHITECTURE}") endif() +# Use /Z7 rather than /Zi to avoid "fatal error C1090: PDB API call failed, error code '23': (0x00000006)" +foreach(VCXPROJ IN ITEMS + "${SOURCE_PATH}/EasyHookDll/EasyHookDll.vcxproj" + "${SOURCE_PATH}/Examples/UnmanagedHook/UnmanagedHook.vcxproj") + vcpkg_replace_string( + "${VCXPROJ}" + "ProgramDatabase" + "OldStyle" + ) +endforeach() + vcpkg_install_msbuild( SOURCE_PATH ${SOURCE_PATH} PROJECT_SUBPATH EasyHook.sln - TARGET EasyHookDll + TARGET EasyHookDll RELEASE_CONFIGURATION "netfx4-Release" DEBUG_CONFIGURATION "netfx4-Debug" PLATFORM ${BUILD_ARCH} diff --git a/ports/easyhook/vcpkg.json b/ports/easyhook/vcpkg.json index 3a9e6c00cd..aa8e430409 100644 --- a/ports/easyhook/vcpkg.json +++ b/ports/easyhook/vcpkg.json @@ -1,6 +1,7 @@ { "name": "easyhook", "version": "2.7.7097.0", + "port-version": 1, "description": "This project supports extending (hooking) unmanaged code (APIs) with pure managed ones, from within a fully managed environment on 32- or 64-bit Windows Vista x64, Windows Server 2008 x64, Windows 7, Windows 8.1, and Windows 10.", "homepage": "https://github.com/EasyHook/EasyHook", "supports": "windows & !(static | arm | uwp)" diff --git a/versions/baseline.json b/versions/baseline.json index a305901fe9..8f6d1c93f2 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1922,7 +1922,7 @@ }, "easyhook": { "baseline": "2.7.7097.0", - "port-version": 0 + "port-version": 1 }, "easyloggingpp": { "baseline": "9.97.0", diff --git a/versions/e-/easyhook.json b/versions/e-/easyhook.json index 0e249a7e07..6531b3b386 100644 --- a/versions/e-/easyhook.json +++ b/versions/e-/easyhook.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "5dc14a4f006221297cad1ea84143aeae33f30284", + "version": "2.7.7097.0", + "port-version": 1 + }, { "git-tree": "efa456841ef4446343c908f3ed36217b7a1d75a3", "version": "2.7.7097.0",