[yasm] Repaired the PDB file that was overwritten due to having the same name (#42359)

This commit is contained in:
Lily Wang 2024-11-26 19:24:24 -08:00 committed by GitHub
parent 2e77c4d88b
commit f523208df4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff --git a/frontends/yasm/CMakeLists.txt b/frontends/yasm/CMakeLists.txt
index b11d7f8..b8306b1 100644
--- a/frontends/yasm/CMakeLists.txt
+++ b/frontends/yasm/CMakeLists.txt
@@ -19,6 +19,7 @@ IF(BUILD_SHARED_LIBS)
yasm-plugin.c
)
TARGET_LINK_LIBRARIES(yasm libyasm ${LIBDL})
+ set_target_properties(yasm PROPERTIES PDB_NAME "yasm-tool")
ELSE(BUILD_SHARED_LIBS)
ADD_EXECUTABLE(yasm
yasm.c

View File

@ -7,6 +7,7 @@ vcpkg_from_github(
PATCHES
add-feature-tools.patch
fix-arm-cross-build.patch
fix-overlay-pdb.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,7 +1,7 @@
{
"name": "yasm",
"version": "1.3.0",
"port-version": 5,
"port-version": 6,
"description": "Yasm is a complete rewrite of the NASM assembler under the new BSD License.",
"homepage": "https://github.com/yasm/yasm",
"license": "BSD-2-Clause OR BSD-3-Clause OR Artistic-1.0 OR GPL-2.0-only OR LGPL-2.0-only",

View File

@ -9914,7 +9914,7 @@
},
"yasm": {
"baseline": "1.3.0",
"port-version": 5
"port-version": 6
},
"yasm-tool": {
"baseline": "2021-12-14",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "cd30518fa90953d3fa7cc1c0096bf628d2b457be",
"version": "1.3.0",
"port-version": 6
},
{
"git-tree": "e9ad958de17f5b7661720dc322cff96b2dff8355",
"version": "1.3.0",