diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-11-02 15:11:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-11-02 15:11:02 +0200 |
commit | 7259c8f9b367cb0f468f701663ace9ac50e47198 (patch) | |
tree | 27765b4fd4b2a08430c73da5a6b71e82b43179f1 | |
parent | 303d1661cd524781900a67249867ade926c82206 (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
@@ -22,6 +22,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 |