diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-15 19:06:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-15 19:06:57 +0000 |
commit | 7e823c472c4971a159c2aabcf70144d03e5bb491 (patch) | |
tree | fcef744e76c1f8e22ec03e420a4d58a0f4fae847 /include/makeinclude/rules.lib.GNU | |
parent | 30ef5a02dc2b308dc6f76c148464f6414a7de342 (diff) | |
download | ATCD-7e823c472c4971a159c2aabcf70144d03e5bb491.tar.gz |
don't call $(RANLIB) if it is null.
Diffstat (limited to 'include/makeinclude/rules.lib.GNU')
-rw-r--r-- | include/makeinclude/rules.lib.GNU | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/makeinclude/rules.lib.GNU b/include/makeinclude/rules.lib.GNU index 9b7c8acf337..bd7fea06c6d 100644 --- a/include/makeinclude/rules.lib.GNU +++ b/include/makeinclude/rules.lib.GNU @@ -92,7 +92,9 @@ ifdef TEMPINCDIR fi endif -chmod a+r $@ +ifneq (,$(RANLIB)) -$(RANLIB) $@ +endif # RANLIB # Note that if you don't want to build shared libraries, just remove the $(VSHOBJS) ifdef SHLIBBUILD @@ -114,5 +116,7 @@ ifdef SHLIBA $(SHLIBA): $(VSHLIB) $(AR) $(ARFLAGS) $@ $? -chmod a+rx $@ +ifneq (,$(RANLIB)) -$(RANLIB) $@ +endif # RANLIB endif |