Commit 2be0fa40 authored by Alexandre Julliard's avatar Alexandre Julliard

Set the dll search path to the location specified in configure

(spotted by Vincent Béron).
parent 41d7518a
DEFS = -DINCLUDEDIR="\"$(includedir)\"" DEFS = -DINCLUDEDIR="\"$(includedir)\"" -DDLLDIR="\"$(dlldir)\""
TOPSRCDIR = @top_srcdir@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../.. TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
......
...@@ -31,10 +31,6 @@ ...@@ -31,10 +31,6 @@
#include "utils.h" #include "utils.h"
#ifndef WINEDLLS
#define WINEDLLS "/usr/local/lib/wine"
#endif
static const char *app_loader_script = static const char *app_loader_script =
"#!/bin/sh\n" "#!/bin/sh\n"
"\n" "\n"
...@@ -439,8 +435,8 @@ int main(int argc, char **argv) ...@@ -439,8 +435,8 @@ int main(int argc, char **argv)
obj_files = strarray_alloc(); obj_files = strarray_alloc();
/* include the standard DLL path first */ /* include the standard DLL path first */
add_lib_path(WINEDLLS); add_lib_path(DLLDIR);
for (i = 1; i < argc; i++) for (i = 1; i < argc; i++)
{ {
if (!no_opt && argv[i][0] == '-') if (!no_opt && argv[i][0] == '-')
......
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