]> git.saurik.com Git - apt.git/blobdiff - buildlib/staticlibrary.mak
Fixed dhelp file
[apt.git] / buildlib / staticlibrary.mak
index 998ca5bf2e57f3cb8e488ffec6c9e9318324c554..0835fe8a073b0062c41dc49addddcbc7946d477f 100644 (file)
@@ -39,6 +39,9 @@ $($(LOCAL)-LIB): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS)
        echo Building library $@
        -rm $@ > /dev/null 2>&1
        $(AR) cq $@ $(filter %.o,$^)
+ifneq ($(words $(RANLIB)),0)
+       $(RANLIB) $@
+endif
 
 # Compilation rules
 vpath %.cc $(SUBDIRS)