Fix win32 build
authorJelmer Vernooij <jelmer@samba.org>
Fri, 18 Feb 2005 19:37:55 +0000 (20:37 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 18 Feb 2005 19:37:55 +0000 (20:37 +0100)
Makefile

index fcef6aef16a2ebc5b857749d5e7f8b400733dd53..854d0de981e0dbcc9ef073435cebbb97e6ac2e08 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ ptb2xml.o: ptb2xml.c
        $(CC) $(CFLAGS) -c $< 
 
 ptb.dll: $(PTBSO_OBJS)
-       $(CC) -shared $(CFLAGS) -o $@ $^ 
+       $(CC) -shared $(CFLAGS) -o $@ $^ -Wl,--out-implib,$@.a
 
 ptb.lib: $(PTBSO_OBJS)
        $(DLLTOOL) -l $@ $(PTBSO_OBJS)