--
v2: localspl: Add AddPrintProcessor implementation.
winspool: Implement print processor validation in AddPrinter.
localspl: Support Port handles in EndDocPrinter.
localspl: Partially support Port handles in StartDocPrinter.
localspl: Support Port handles in WritePrinter.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1672
On Sat Dec 3 04:33:26 2022 +0000, Brendan Shanks wrote:
> Hmm, and this worked correctly before? Are you running from the build directory?
> I didn't realize this before, but any DYLD_ environment variables will
> be stripped when running from the build directory, because `./wine` or
> `./wine64` is a shell script, and system binaries (including `/bin/sh`)
> ignore/strip `DYLD_` env vars. But if you edit `wine`/`wine64` and
> set/export `DYLD_FALLBACK_LIBRARY_PATH` inside the script, it works.
> Or, if you install Wine and then run it from there, `wine`/`wine64` is a
> binary, so `DYLD_FALLBACK_LIBRARY_PATH` works correctly.
> I did some tests with the preloader and couldn't find any cases where it
> loses or mishandles the environment variables.
Yes, this is from the build dir. I'm setting `DYLD_FALLBACK_LIBRARY_PATH` in `.winewrapper` to avoid the issue of `/bin/sh` stripping the `DYLD_` variables, which worked before the mentioned commit.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1616#note_18558