vcpkg/ports/fontconfig/no-etc-symlinks.patch
Alonso Schaich 61a81924d9
[fontconfig] update to 2.14.1 (microsoft#27372) (#27373)
* [fontconfig] update to 2.14.1 (microsoft#27372)

* [fontconfig] Update version registries (microsoft#27372)
2022-10-28 21:33:26 -07:00

20 lines
531 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
from pathlib import PurePath
if __name__=='__main__':
@@ -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