diff options
| author | Peter Eisentraut | 2002-09-05 18:28:46 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2002-09-05 18:28:46 +0000 |
| commit | 337da0678ab3b0fe7e339cd35c6c50ad5441a534 (patch) | |
| tree | 62b6d649585ee864a16c1922736e4c8d66ebc54b /src/pl | |
| parent | a11ea5e2a3bc47321eaff824b588c07a5974a729 (diff) | |
Assorted fixes for Cygwin:
Eliminate the mysterious games that the Cygwin build plays with the linker
flag variables. DLLLIBS is gone, use SHLIB_LINK like everyone else.
Detect cygipc in configure, after the linker flags are set up, otherwise
configure might not work at all.
Make sure everything is covered by make clean.
Fix the build of the new conversion procedure modules.
Add new DLLIMPORT markers where required.
Finally, the compiler complains if we use an explicit
-I/usr/local/include, so don't do that. Curiously, -L/usr/local/lib is
still necessary.
Diffstat (limited to 'src/pl')
| -rw-r--r-- | src/pl/plpgsql/src/Makefile | 4 | ||||
| -rw-r--r-- | src/pl/plpython/Makefile | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/pl/plpgsql/src/Makefile b/src/pl/plpgsql/src/Makefile index cb5b6c21fa5..2ab565a806d 100644 --- a/src/pl/plpgsql/src/Makefile +++ b/src/pl/plpgsql/src/Makefile @@ -2,7 +2,7 @@ # # Makefile for the plpgsql shared object # -# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.21 2002/08/30 00:28:41 tgl Exp $ +# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.22 2002/09/05 18:28:46 petere Exp $ # #------------------------------------------------------------------------- @@ -20,7 +20,7 @@ SO_MAJOR_VERSION= 1 SO_MINOR_VERSION= 0 override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -override DLLLIBS := $(BE_DLLLIBS) $(DLLLIBS) +SHLIB_LINK = $(BE_DLLLIBS) rpath := OBJS = pl_gram.o pl_scan.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile index dd92986304e..f2830866d34 100644 --- a/src/pl/plpython/Makefile +++ b/src/pl/plpython/Makefile @@ -1,4 +1,4 @@ -# $Header: /cvsroot/pgsql/src/pl/plpython/Makefile,v 1.10 2001/09/16 16:11:11 petere Exp $ +# $Header: /cvsroot/pgsql/src/pl/plpython/Makefile,v 1.11 2002/09/05 18:28:46 petere Exp $ subdir = src/pl/plpython top_builddir = ../../.. @@ -17,7 +17,6 @@ endif ifneq (,$(findstring yes, $(shared_libpython)$(allow_nonpic_in_shlib))) override CPPFLAGS := -I$(srcdir) $(python_includespec) $(CPPFLAGS) -override DLLLIBS := $(BE_DLLLIBS) $(DLLLIBS) rpath := NAME = plpython @@ -25,7 +24,7 @@ SO_MAJOR_VERSION = 0 SO_MINOR_VERSION = 0 OBJS = plpython.o -SHLIB_LINK += $(python_libspec) +SHLIB_LINK = $(BE_DLLLIBS) $(python_libspec) include $(top_srcdir)/src/Makefile.shlib |
