aboutsummaryrefslogtreecommitdiff
path: root/compatMakefile
diff options
context:
space:
mode:
Diffstat (limited to 'compatMakefile')
-rw-r--r--compatMakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/compatMakefile b/compatMakefile
index 5827dde..9847ce3 100644
--- a/compatMakefile
+++ b/compatMakefile
@@ -31,6 +31,9 @@ CC = @CC@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
+# How to invoke ranlib. This is only used by the `glob' subdirectory.
+RANLIB = @RANLIB@
+
# Define these for your system as follows:
# -DNO_ARCHIVES To disable `ar' archive support.
# -DNO_FLOAT To avoid using floating-point numbers.
@@ -169,6 +172,7 @@ MAKE = make
glob/libglob.a: FORCE config.h
cd glob; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS) -I..' \
CPPFLAGS='$(CPPFLAGS) -DHAVE_CONFIG_H' \
+ RANLIB='$(RANLIB)' \
libglob.a
FORCE: