Need to set WINEDLLPATH too.

This commit is contained in:
Alexandre Julliard 2002-03-28 18:21:06 +00:00
parent 5c6a86bfde
commit b3d60997b2

View file

@ -116,9 +116,10 @@ if (@modules)
if (defined($topobjdir))
{
chop($topobjdir = `cd $topobjdir && pwd`);
$ENV{LD_LIBRARY_PATH} = $topobjdir . "/dlls:" . $topobjdir . ":" . $ENV{LD_LIBRARY_PATH};
$ENV{WINESERVER} ||= $topobjdir . "/server/wineserver";
$ENV{WINELOADER} ||= $topobjdir . "/wine";
$ENV{LD_LIBRARY_PATH} = $topobjdir . ":" . $ENV{LD_LIBRARY_PATH};
$ENV{WINEDLLPATH} = $topobjdir . "/dlls";
$ENV{WINESERVER} = $topobjdir . "/server/wineserver";
$ENV{WINELOADER} = $topobjdir . "/wine";
$ENV{WINETEST_PLATFORM} = $platform || "wine";
$ENV{WINEPRELOAD}=($program || ($topobjdir . "/programs/winetest/winetest")) . ".so";
# try to exec the wine loader directly; if it fails continue on to normal exec