X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d3a67123c9d05b6d639adb0e6b4a874807602a6b..84b98d0484fe61d4ebe205016e35a06da194f525:/sbr/Makefile.in diff --git a/sbr/Makefile.in b/sbr/Makefile.in index 3eba53fe..10fb56ca 100644 --- a/sbr/Makefile.in +++ b/sbr/Makefile.in @@ -20,6 +20,7 @@ LORDER = @LORDER@ TSORT = @TSORT@ RANLIB = @RANLIB@ LIBTOOL = @LIBTOOL@ +GNU_LIBTOOL = @GNU_LIBTOOL@ LIBOBJS = @LIBOBJS@ @@ -93,8 +94,8 @@ pidstatus.o: sigmsg.h libmh.a: $(OBJS) rm -f $@ - if test x$(LIBTOOL) != xno ; then \ - $(LIBTOOL) -static -c $(OBJS) -o libmh.a ; \ + if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \ + $(LIBTOOL) -static -c -o libmh.a $(OBJS) ; \ else \ ar cr libmh.a `$(LORDER) $(OBJS) | $(TSORT)` ; \ $(RANLIB) libmh.a ; \