-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expat: add patch to remove postfix d
- Loading branch information
Showing
2 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
gvsbuild/patches/expat/0001-CMakeLists-do-not-add-postfix-d-in-debug-builds.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From cefae9cae833348b5954edb9b214c477a212a434 Mon Sep 17 00:00:00 2001 | ||
From: Ignacio Casal Quinteiro <qignacio@amazon.com> | ||
Date: Wed, 2 Aug 2023 12:43:56 +0200 | ||
Subject: [PATCH] CMakeLists: do not add postfix d in debug builds | ||
|
||
--- | ||
CMakeLists.txt | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 72cf0b01..842f900c 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -426,7 +426,7 @@ foreach(build_type_upper | ||
RELWITHDEBINFO | ||
) | ||
if(WIN32 AND build_type_upper STREQUAL "DEBUG") | ||
- set(_POSTFIX_DEBUG "d") | ||
+ set(_POSTFIX_DEBUG "") | ||
else() | ||
set(_POSTFIX_DEBUG "") # needs a reset because of being looped | ||
endif() | ||
-- | ||
2.34.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters