aboutsummaryrefslogtreecommitdiff
path: root/libcutl/build/ld/configuration-lib-dynamic.make
diff options
context:
space:
mode:
Diffstat (limited to 'libcutl/build/ld/configuration-lib-dynamic.make')
-rw-r--r--libcutl/build/ld/configuration-lib-dynamic.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcutl/build/ld/configuration-lib-dynamic.make b/libcutl/build/ld/configuration-lib-dynamic.make
index 74c8885..63d2ed3 100644
--- a/libcutl/build/ld/configuration-lib-dynamic.make
+++ b/libcutl/build/ld/configuration-lib-dynamic.make
@@ -1,12 +1,12 @@
ld_lib_type := archive
-ifneq ($(AR),)
+ifeq ($(filter $(origin AR),undefined default),)
ld_lib_ar := $(AR)
else
ld_lib_ar := ar
endif
-ifneq ($(RANLIB),)
+ifeq ($(filter $(origin RANLIB),undefined default),)
ld_lib_ranlib := $(RANLIB)
else
ld_lib_ranlib := ranlib