mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[yasm] Repaired the PDB file that was overwritten due to having the same name (#42359)
This commit is contained in:
parent
2e77c4d88b
commit
f523208df4
12
ports/yasm/fix-overlay-pdb.patch
Normal file
12
ports/yasm/fix-overlay-pdb.patch
Normal 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
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -9914,7 +9914,7 @@
|
||||
},
|
||||
"yasm": {
|
||||
"baseline": "1.3.0",
|
||||
"port-version": 5
|
||||
"port-version": 6
|
||||
},
|
||||
"yasm-tool": {
|
||||
"baseline": "2021-12-14",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "cd30518fa90953d3fa7cc1c0096bf628d2b457be",
|
||||
"version": "1.3.0",
|
||||
"port-version": 6
|
||||
},
|
||||
{
|
||||
"git-tree": "e9ad958de17f5b7661720dc322cff96b2dff8355",
|
||||
"version": "1.3.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user