Set the dll search path to the location specified in configure

(spotted by Vincent Béron).
oldstable
Alexandre Julliard 2003-09-11 23:11:33 +00:00
parent 41d7518a62
commit 2be0fa40e4
2 changed files with 3 additions and 7 deletions

View File

@ -1,4 +1,4 @@
DEFS = -DINCLUDEDIR="\"$(includedir)\""
DEFS = -DINCLUDEDIR="\"$(includedir)\"" -DDLLDIR="\"$(dlldir)\""
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@

View File

@ -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] == '-')