John Klehm wrote:
Well you could have a script to recopy it there but there is one more way I thought of that you could add the path (provided you dont remove your .wine folder very often)
wine regedit
Then edit \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
Thanks for your helpful suggestions, but this still isn't a good solution. I hope to encourage others to do cross-compiled development of libsndfile from Linux to windows and I would like to have all of them hack their windows registry. It just seems too fragile.
However, I notice that if instead of copying the library I make a symlink instead, the executable runs correctly. Of the solutions I've seen so far, this is the least fragile and most easily implementable solution.
Cheers, Erik