summaryrefslogtreecommitdiff
path: root/build-aux/install-reloc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2016-11-19 14:03:07 +0100
committerBruno Haible <bruno@clisp.org>2016-11-19 14:05:26 +0100
commitd91ad340b45ff869aa60eb6eea0cb504ba671ecb (patch)
tree80c67b97a41d3ce7e5aabbc705ac35d2848489e2 /build-aux/install-reloc
parent33a0497171b1329aa98af53722cdfadf3cdc9828 (diff)
downloadgnulib-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 'build-aux/install-reloc')
-rwxr-xr-xbuild-aux/install-reloc9
1 files changed, 4 insertions, 5 deletions
diff --git a/build-aux/install-reloc b/build-aux/install-reloc
index 979a056db6..1a2b5a410f 100755
--- a/build-aux/install-reloc
+++ b/build-aux/install-reloc
@@ -232,15 +232,13 @@ func_create_wrapper ()
"$srcdir"/areadlink.c \
"$srcdir"/careadlinkat.c \
"$srcdir"/allocator.c \
- "$srcdir"/strerror-override.c \
- "$srcdir"/stat.c \
- "$srcdir"/lstat.c \
"$srcdir"/readlink.c \
+ "$srcdir"/stat.c \
"$srcdir"/canonicalize-lgpl.c \
"$srcdir"/malloca.c \
+ "$srcdir"/lstat.c \
"$srcdir"/relocatable.c \
"$srcdir"/setenv.c \
- "$srcdir"/strerror.c \
"$srcdir"/c-ctype.c \
-o "$destprog.wrapper$exeext"
rc=$?
@@ -253,11 +251,12 @@ func_create_wrapper ()
careadlinkat.o \
allocator.o \
readlink.o \
+ stat.o \
canonicalize-lgpl.o \
malloca.o \
+ lstat.o \
relocatable.o \
setenv.o \
- strerror.o \
c-ctype.o
test $rc = 0 || exit $?
# Clean up debugging information left over by the native C compiler on MacOS X.