Jason Tishler <jason(at)tishler(dot)net> writes:
> Also, I would like to know whether or not the following is an acceptable
> way to get ecpg.dll linked against libpgtypes.a:
> +++ interfaces/ecpg/ecpglib/Makefile 2003/04/29 17:40:25
> @@ -22,6 +22,9 @@ OBJS= execute.o typename.o descriptor.o
> connect.o misc.o
> SHLIB_LINK= $(libpq)
> +ifeq ($(PORTNAME), cygwin)
> +SHLIB_LINK+= -L../pgtypeslib -lpgtypes
> +endif
Why would Cygwin need that if other platforms don't? (Perhaps other
platforms do too? I've never tried to actually run ecpg ...)
regards, tom lane