From aae221319da1c05a239032d7941d680249aa8858 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 2 Nov 2009 15:13:26 +0200 Subject: Add support for the AR and RANLIB make variables --- README | 2 ++ libcutl/build/ld/configuration-lib-dynamic.make | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/README b/README index 8e64009..639a561 100644 --- a/README +++ b/README @@ -21,6 +21,8 @@ CPPFLAGS CXXFLAGS LDFALGS LIBS +AR (defaults to ar if not set) +RANLIB (defaults to ranlib if not set) For example: diff --git a/libcutl/build/ld/configuration-lib-dynamic.make b/libcutl/build/ld/configuration-lib-dynamic.make index c2c560c..74c8885 100644 --- a/libcutl/build/ld/configuration-lib-dynamic.make +++ b/libcutl/build/ld/configuration-lib-dynamic.make @@ -1,3 +1,13 @@ ld_lib_type := archive + +ifneq ($(AR),) +ld_lib_ar := $(AR) +else ld_lib_ar := ar +endif + +ifneq ($(RANLIB),) +ld_lib_ranlib := $(RANLIB) +else ld_lib_ranlib := ranlib +endif -- cgit v1.1