aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-12-29 16:07:42 -0800
committerGitHub <noreply@github.com>2020-12-29 16:07:42 -0800
commitd5b47fcc98a9d9a8b22c3b07a6359cdef622622f (patch)
tree4688e4f7d1f8887efca7e219d413c0cc2ac37e23
parent21872f70f5a18d9a52a733e49bfff7324cf6f2d9 (diff)
downloadvcpkg-d5b47fcc98a9d9a8b22c3b07a6359cdef622622f.tar.gz
vcpkg-d5b47fcc98a9d9a8b22c3b07a6359cdef622622f.zip
[mdnsresponder] Change compile flag /Zi to /Z7 (#15340)
-rw-r--r--ports/mdnsresponder/CONTROL3
-rw-r--r--ports/mdnsresponder/portfile.cmake5
2 files changed, 7 insertions, 1 deletions
diff --git a/ports/mdnsresponder/CONTROL b/ports/mdnsresponder/CONTROL
index 9f97716e8..a281e83bf 100644
--- a/ports/mdnsresponder/CONTROL
+++ b/ports/mdnsresponder/CONTROL
@@ -1,5 +1,6 @@
Source: mdnsresponder
-Version: 765.30.11-2
+Version: 765.30.11
+Port-Version: 3
Description: The mDNSResponder project is a component of Bonjour, Apple's ease-of-use IP networking initiative.
Homepage: https://developer.apple.com/bonjour/
Supports: !arm \ No newline at end of file
diff --git a/ports/mdnsresponder/portfile.cmake b/ports/mdnsresponder/portfile.cmake
index e29329442..337cf0bdc 100644
--- a/ports/mdnsresponder/portfile.cmake
+++ b/ports/mdnsresponder/portfile.cmake
@@ -49,6 +49,11 @@ function(FIX_VCXPROJ VCXPROJ_PATH)
"<ConfigurationType>StaticLibrary</ConfigurationType>"
ORIG "${ORIG}")
endif()
+
+ string(REPLACE
+ "<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>"
+ "<DebugInformationFormat>OldStyle</DebugInformationFormat>"
+ ORIG "${ORIG}")
file(WRITE ${VCXPROJ_PATH} "${ORIG}")
endfunction()