Set the dll search path to the location specified in configure
(spotted by Vincent Béron).
This commit is contained in:
parent
41d7518a62
commit
2be0fa40e4
|
@ -1,4 +1,4 @@
|
|||
DEFS = -DINCLUDEDIR="\"$(includedir)\""
|
||||
DEFS = -DINCLUDEDIR="\"$(includedir)\"" -DDLLDIR="\"$(dlldir)\""
|
||||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
|
|
|
@ -31,10 +31,6 @@
|
|||
|
||||
#include "utils.h"
|
||||
|
||||
#ifndef WINEDLLS
|
||||
#define WINEDLLS "/usr/local/lib/wine"
|
||||
#endif
|
||||
|
||||
static const char *app_loader_script =
|
||||
"#!/bin/sh\n"
|
||||
"\n"
|
||||
|
@ -439,8 +435,8 @@ int main(int argc, char **argv)
|
|||
obj_files = strarray_alloc();
|
||||
|
||||
/* include the standard DLL path first */
|
||||
add_lib_path(WINEDLLS);
|
||||
|
||||
add_lib_path(DLLDIR);
|
||||
|
||||
for (i = 1; i < argc; i++)
|
||||
{
|
||||
if (!no_opt && argv[i][0] == '-')
|
||||
|
|
Loading…
Reference in New Issue