diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-11-13 13:04:26 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-11-13 13:04:26 -0800 |
commit | d169dd73007cf1eadea79fb2c506b03f178a2bad (patch) | |
tree | 521a4cd14aa8ffd8e77db9a900e11425cc3eb191 /Makefile.in | |
parent | 9e50ed8ef10320f84e6e5e5f853a22aae6e62de7 (diff) | |
download | zlib-d169dd73007cf1eadea79fb2c506b03f178a2bad.tar.gz |
Split off AR options in Makefile.in and configure.
Adds ARFLAGS variable for options, where AR is now just the command
name. So now $(AR) $(ARFLAGS) is used to build the static library.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 9ac0406..01a9016 100644 --- a/Makefile.in +++ b/Makefile.in @@ -36,7 +36,8 @@ SHAREDLIBV=libz.so.1.2.5.2 SHAREDLIBM=libz.so.1 LIBS=$(STATICLIB) $(SHAREDLIBV) -AR=ar rc +AR=ar +ARFLAGS=rc RANLIB=ranlib LDCONFIG=ldconfig LDSHAREDLIBC=-lc @@ -111,7 +112,7 @@ test64: all64 -@rm -f foo.gz libz.a: $(OBJS) - $(AR) $@ $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) -@ ($(RANLIB) $@ || true) >/dev/null 2>&1 match.o: match.S |