## WINELINKING environment variable
`WINELINKING` is an optional environment variable that controls how Wine installs its built-in (“fake”) DLLs into a Wine prefix.\ Instead of always copying the PE template into the prefix, Wine can:
* create a symbolic link to the original PE file, * create a hard link to the original PE file, or * attempt a filesystem-level copy-on-write (reflink) clone.
This can significantly reduce disk usage and speed up prefix creation on filesystems that support these features.
`WINELINKING` is only consulted when installing built-in DLLs (the fake DLLs generated by `setupapi`). It does **not** affect how applications copy or install their own files inside the prefix.
### Supported values
`WINELINKING` recognizes the following values:
* `WINELINKING=sym`\ Wine attempts to create a **symbolic link** in the prefix that points to the original built-in PE file in the Wine installation. * `WINELINKING=hard`\ Wine attempts to create a **hard link** to the original built-in PE file, so both paths refer to the same underlying file on disk. * `WINELINKING=cow`\ Wine attempts a **copy-on-write (CoW) / reflink clone** of the original PE file. On filesystems that support extent cloning, this creates a logical copy that shares physical blocks until one of the copies is modified.
If `WINELINKING` is not set, or set to any other value, Wine falls back to the traditional behavior: the built-in DLL is copied into the prefix with a normal write.
Signed-off-by: Nikita strudelll@etersoft.ru