Add libpgport to postgres.def for Windows build. Per Magnus Hagander.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Aug 2004 18:07:42 +0000 (18:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Aug 2004 18:07:42 +0000 (18:07 +0000)
src/backend/Makefile

index fb91930b53de95443c11ef2cdf50de57f3f1c778..e87356cc5af59a8822f8ee7c2d27e139fa1dd71c 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $PostgreSQL: pgsql/src/backend/Makefile,v 1.103 2004/07/21 20:34:44 momjian Exp $
+# $PostgreSQL: pgsql/src/backend/Makefile,v 1.104 2004/08/01 18:07:42 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -66,7 +66,7 @@ postgres: $(OBJS) $(DLLINIT) postgres.def libpostgres.a
        rm -f $@.exp $@.base
 
 postgres.def: $(OBJS)
-       $(DLLTOOL) --export-all --output-def $@ $^
+       $(DLLTOOL) --export-all --output-def $@ $^ $(top_builddir)/src/port/libpgport.a
 
 libpostgres.a: postgres.def
        $(DLLTOOL) --dllname postgres.exe --def postgres.def --output-lib $@