diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-11-02 15:13:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-11-02 15:13:26 +0200 |
commit | aae221319da1c05a239032d7941d680249aa8858 (patch) | |
tree | ccd06f851d3f6d8b54189625c768fa206ca04830 | |
parent | 35dbe932dd6d8c4d11009131df425d04814ec0ad (diff) |
Add support for the AR and RANLIB make variables
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | libcutl/build/ld/configuration-lib-dynamic.make | 10 |
2 files changed, 12 insertions, 0 deletions
@@ -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 |