diff options
author | Bruno Haible <bruno@clisp.org> | 2016-11-19 14:03:07 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2016-11-19 14:05:26 +0100 |
commit | d91ad340b45ff869aa60eb6eea0cb504ba671ecb (patch) | |
tree | 80c67b97a41d3ce7e5aabbc705ac35d2848489e2 /lib/relocwrapper.c | |
parent | 33a0497171b1329aa98af53722cdfadf3cdc9828 (diff) | |
download | gnulib-d91ad340b45ff869aa60eb6eea0cb504ba671ecb.tar.gz |
relocatable-prog-wrapper: Fix breakage on Cygwin.
* modules/relocatable-prog-wrapper (Files): Add lib/stat.c, lib/lstat.c.
(Depends-on): Remove intprops.
* lib/relocwrapper.c: Update dependency tree.
(strerror): Undefine.
* build-aux/install-reloc (func_create_wrapper): Do not compile
strerror.c and strerror-override.c. Erase stat.o and lstat.o.
Diffstat (limited to 'lib/relocwrapper.c')
-rw-r--r-- | lib/relocwrapper.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/lib/relocwrapper.c b/lib/relocwrapper.c index 5eefa2be95..69a6e982a7 100644 --- a/lib/relocwrapper.c +++ b/lib/relocwrapper.c @@ -19,16 +19,23 @@ relocwrapper -> progname -> progreloc - -> areadlink - -> careadlinkat + -> areadlink + -> careadlinkat -> allocator - -> readlink - -> canonicalize-lgpl - -> malloca - -> readlink + -> readlink + -> stat + -> dosname + -> pathmax + -> verify + -> canonicalize-lgpl + -> malloca + -> lstat + -> readlink -> relocatable -> setenv -> malloca + -> fprintf-posix [ignore, cut dependency tree here] + -> strerror [ignore, cut dependency tree here] -> c-ctype Macros that need to be set while compiling this file: @@ -60,6 +67,7 @@ /* Use the system functions, not the gnulib overrides in this file. */ #undef fprintf +#undef strerror /* Return a copy of the filename, with an extra ".bin" at the end. More generally, it replaces "${EXEEXT}" at the end with ".bin${EXEEXT}". */ |