diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-03-20 04:07:11 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-03-20 04:07:11 +0000 |
commit | 76e6d260110a520450933d96e0c33690206c920b (patch) | |
tree | 768d6cac882ea85e15729a0c0e793aa270a9040a /src | |
parent | e98df1ab2955f9c2d57e7f97db569c5ac44375a3 (diff) | |
download | postgresql-76e6d260110a520450933d96e0c33690206c920b.tar.gz postgresql-76e6d260110a520450933d96e0c33690206c920b.zip |
HPUX build does not build shared lib versions of libpq and libpq++
--------------------------------------------------------------------------
Test Case: ----------
--------------------------------------------------------------------------
Solution: --------- Add this to the libpq and libpq++ Makefiles
to build shared libs:
Mike Ferrara
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/libpq++/Makefile | 8 | ||||
-rw-r--r-- | src/interfaces/libpq/Makefile.in | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src/interfaces/libpq++/Makefile b/src/interfaces/libpq++/Makefile index e1de2b16c4e..71670caf9ba 100644 --- a/src/interfaces/libpq++/Makefile +++ b/src/interfaces/libpq++/Makefile @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.9 1997/09/16 18:47:23 momjian Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.10 1998/03/20 04:07:11 momjian Exp $ # #------------------------------------------------------------------------- @@ -48,6 +48,12 @@ ifeq ($(PORTNAME), i386_solaris) LDFLAGS_SL = -G -z text CFLAGS += $(CFLAGS_SL) endif +ifeq ($(PORTNAME), hpux) + install-shlib-dep := install-shlib + shlib := libpq.sl + LDFLAGS_SL = -b + CFLAGS += $(CFLAGS_SL) +endif all: $(LIBNAME).a $(SHLIB) install examples diff --git a/src/interfaces/libpq/Makefile.in b/src/interfaces/libpq/Makefile.in index 9b8de869aab..d4261305e1c 100644 --- a/src/interfaces/libpq/Makefile.in +++ b/src/interfaces/libpq/Makefile.in @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.8 1998/02/27 02:40:59 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.9 1998/03/20 04:07:02 momjian Exp $ # #------------------------------------------------------------------------- @@ -59,6 +59,12 @@ ifeq ($(PORTNAME), univel) LDFLAGS_SL = -G -z text CFLAGS += $(CFLAGS_SL) endif +ifeq ($(PORTNAME), hpux) + install-shlib-dep := install-shlib + shlib := libpq.sl + LDFLAGS_SL = -b + CFLAGS += $(CFLAGS_SL) +endif all: libpq.a $(shlib) c.h |