*** src/backend/Makefile.orig	Mon May 20 16:07:11 2002
--- src/backend/Makefile	Mon May 20 16:01:57 2002
***************
*** 45,53 ****
  # commands into variables?
  postgres: $(OBJS) $(top_builddir)/src/utils/dllinit.o postgres.def libpostgres.a
  	dlltool --dllname $@$(X) --output-exp $@.exp --def postgres.def
! 	gcc -g -o $@$(X) -Wl,--base-file,$@.base $@.exp $(OBJS) $(DLLLIBS)
  	dlltool --dllname $@$(X) --base-file $@.base --output-exp $@.exp --def postgres.def
! 	gcc -g -o $@$(X) $@.exp $(OBJS) $(DLLLIBS)
  	rm $@.exp $@.base
  
  endif # win
--- 45,53 ----
  # commands into variables?
  postgres: $(OBJS) $(top_builddir)/src/utils/dllinit.o postgres.def libpostgres.a
  	dlltool --dllname $@$(X) --output-exp $@.exp --def postgres.def
! 	gcc $(LDFLAGS) -g -o $@$(X) -Wl,--base-file,$@.base $@.exp $(OBJS) $(DLLLIBS)
  	dlltool --dllname $@$(X) --base-file $@.base --output-exp $@.exp --def postgres.def
! 	gcc $(LDFLAGS) -g -o $@$(X) $@.exp $(OBJS) $(DLLLIBS)
  	rm $@.exp $@.base
  
  endif # win
