diff options
author | Andoni Morales Alastruey <amorales@fluendo.com> | 2025-07-07 10:31:43 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <amorales@fluendo.com> | 2025-07-07 10:31:43 +0200 |
commit | 10534e22489a2b3e923425d4684c9d45ab42c0b5 (patch) | |
tree | 78bd2f48e5a9d8972256259b868d77ae106809ad | |
parent | bebb6d413055e77c10c56ebee8de17c3f6ca8c28 (diff) |
FileExistsError: [WinError 183] Cannot create a file when that file already exists:
'C:\\builds\\gstreamer\\cerbero\\cb\\dist\\msvc_x86_64\\lib\\libcurl_imp.lib' ->
'C:\\builds\\gstreamer\\cerbero\\cb\\dist\\msvc_x86_64\\lib\\curl.lib'
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1882>
-rw-r--r-- | recipes/curl.recipe | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/curl.recipe b/recipes/curl.recipe index 0d1311ee..60b53e0a 100644 --- a/recipes/curl.recipe +++ b/recipes/curl.recipe @@ -49,9 +49,9 @@ class Recipe(recipe.Recipe): if self.config.target_platform == Platform.WINDOWS: if self.using_msvc(): original_implib = libdir / 'libcurl_imp.lib' - original_implib.rename(original_implib.with_name('curl.lib')) + original_implib.replace(original_implib.with_name('curl.lib')) stlib = libdir / 'libcurl.lib' - stlib.rename(stlib.with_name('libcurl.a')) + stlib.replace(stlib.with_name('libcurl.a')) else: # Will be regenerated by gen_library_file original_implib = libdir / 'libcurl_imp.dll.a' |