X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=mts%2Fsendmail%2FMakefile.in;fp=mts%2Fsendmail%2FMakefile.in;h=16b1d7a06cd29e0148170c88ddb7b8154a974ff3;hp=d5580a5b30bc9ecb9ccefde81a540adbaf850e5c;hb=d3a67123c9d05b6d639adb0e6b4a874807602a6b;hpb=1e6e0b5cc1bd2d49ffcef4ea7bb1bb6c256d07b7 diff --git a/mts/sendmail/Makefile.in b/mts/sendmail/Makefile.in index d5580a5..16b1d7a 100644 --- a/mts/sendmail/Makefile.in +++ b/mts/sendmail/Makefile.in @@ -24,6 +24,7 @@ INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) LORDER = @LORDER@ TSORT = @TSORT@ RANLIB = @RANLIB@ +LIBTOOL = @LIBTOOL@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) @@ -51,8 +52,12 @@ all: libsend.a libsend.a: $(OBJS) rm -f $@ - ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` - $(RANLIB) $@ + if test x$(LIBTOOL) != xno ; then \ + $(LIBTOOL) -static -c $(OBJS) -o $@ ; \ + else \ + ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \ + $(RANLIB) $@ ; \ + fi install: