Commit b3d60997 authored by Alexandre Julliard's avatar Alexandre Julliard

Need to set WINEDLLPATH too.

parent 5c6a86bf
...@@ -116,9 +116,10 @@ if (@modules) ...@@ -116,9 +116,10 @@ if (@modules)
if (defined($topobjdir)) if (defined($topobjdir))
{ {
chop($topobjdir = `cd $topobjdir && pwd`); chop($topobjdir = `cd $topobjdir && pwd`);
$ENV{LD_LIBRARY_PATH} = $topobjdir . "/dlls:" . $topobjdir . ":" . $ENV{LD_LIBRARY_PATH}; $ENV{LD_LIBRARY_PATH} = $topobjdir . ":" . $ENV{LD_LIBRARY_PATH};
$ENV{WINESERVER} ||= $topobjdir . "/server/wineserver"; $ENV{WINEDLLPATH} = $topobjdir . "/dlls";
$ENV{WINELOADER} ||= $topobjdir . "/wine"; $ENV{WINESERVER} = $topobjdir . "/server/wineserver";
$ENV{WINELOADER} = $topobjdir . "/wine";
$ENV{WINETEST_PLATFORM} = $platform || "wine"; $ENV{WINETEST_PLATFORM} = $platform || "wine";
$ENV{WINEPRELOAD}=($program || ($topobjdir . "/programs/winetest/winetest")) . ".so"; $ENV{WINEPRELOAD}=($program || ($topobjdir . "/programs/winetest/winetest")) . ".so";
# try to exec the wine loader directly; if it fails continue on to normal exec # try to exec the wine loader directly; if it fails continue on to normal exec
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment