diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-06-18 21:38:02 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-06-18 21:38:02 +0000 |
commit | 558fae16e3d09afeb75a8a048ab750d559ff5848 (patch) | |
tree | f7b871c051f605e6137e240ccdd5eb3eda5d6d01 /contrib/array | |
parent | 22dc12b8c3480261d643d0087e98e0cc69feb693 (diff) | |
download | postgresql-558fae16e3d09afeb75a8a048ab750d559ff5848.tar.gz |
The attached patch enables the contrib subtree to build cleanly under
Cygwin with the possible exception of mSQL-interface. Since I don't
have mSQL installed, I skipped this tool.
Except for dealing with a missing getopt.h (oid2name) and HUGE (seg),
the bulk of the patch uses the standard PostgreSQL approach to deal with
Windows DLL issues.
I tested the build aspect of this patch under Cygwin and Linux without
any ill affects. Note that I did not actually attempt to test the code
for functionality.
The procedure to apply the patch is as follows:
$ # save the attachment as /tmp/contrib.patch
$ # change directory to the top of the PostgreSQL source tree
$ patch -p0 </tmp/contrib.patch
Jason
Diffstat (limited to 'contrib/array')
-rw-r--r-- | contrib/array/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/array/Makefile b/contrib/array/Makefile index 260b56e60f..c247f74fbf 100644 --- a/contrib/array/Makefile +++ b/contrib/array/Makefile @@ -1,5 +1,5 @@ # -# $Header: /cvsroot/pgsql/contrib/array/Attic/Makefile,v 1.14 2001/02/20 19:20:26 petere Exp $ +# $Header: /cvsroot/pgsql/contrib/array/Attic/Makefile,v 1.15 2001/06/18 21:38:01 momjian Exp $ # subdir = contrib/array @@ -11,6 +11,7 @@ SONAME := $(NAME)$(DLSUFFIX) override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) override CFLAGS += $(CFLAGS_SL) +override DLLLIBS := $(BE_DLLLIBS) $(DLLLIBS) all: $(SONAME) $(NAME).sql |