mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 14:51:48 +08:00
a76eb002a7
* [fontconfig] Do not create symlinks (microsoft#23735) * [fontconfig] Add a license identifier * Regenerate versions file
20 lines
541 B
Diff
20 lines
541 B
Diff
--- a/conf.d/link_confs.py 2022-03-24 04:13:59.000982000 +0900
|
|
+++ b/conf.d/link_confs.py 2022-03-24 04:14:46.271964000 +0900
|
|
@@ -4,6 +4,7 @@
|
|
import sys
|
|
import argparse
|
|
import platform
|
|
+import shutil
|
|
|
|
if __name__=='__main__':
|
|
parser = argparse.ArgumentParser()
|
|
@@ -32,7 +33,7 @@
|
|
except FileNotFoundError:
|
|
pass
|
|
try:
|
|
- os.symlink(src, dst)
|
|
+ shutil.copyfile(src, dst)
|
|
except NotImplementedError:
|
|
# Not supported on this version of Windows
|
|
break
|