Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit76e6d26

Browse files
committed
HPUX build does not build shared lib versions of libpq and libpq++
--------------------------------------------------------------------------Test Case: ------------------------------------------------------------------------------------Solution: --------- Add this to the libpq and libpq++ Makefilesto build shared libs:Mike Ferrara
1 parente98df1a commit76e6d26

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

‎src/interfaces/libpq++/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.9 1997/09/16 18:47:23 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.10 1998/03/20 04:07:11 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -48,6 +48,12 @@ ifeq ($(PORTNAME), i386_solaris)
4848
LDFLAGS_SL = -G -z text
4949
CFLAGS +=$(CFLAGS_SL)
5050
endif
51+
ifeq ($(PORTNAME), hpux)
52+
install-shlib-dep := install-shlib
53+
shlib := libpq.sl
54+
LDFLAGS_SL = -b
55+
CFLAGS +=$(CFLAGS_SL)
56+
endif
5157

5258
all:$(LIBNAME).a$(SHLIB) install examples
5359

‎src/interfaces/libpq/Makefile.in

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.8 1998/02/27 02:40:59 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.9 1998/03/20 04:07:02 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -59,6 +59,12 @@ ifeq ($(PORTNAME), univel)
5959
LDFLAGS_SL = -G -z text
6060
CFLAGS +=$(CFLAGS_SL)
6161
endif
62+
ifeq ($(PORTNAME), hpux)
63+
install-shlib-dep := install-shlib
64+
shlib := libpq.sl
65+
LDFLAGS_SL = -b
66+
CFLAGS +=$(CFLAGS_SL)
67+
endif
6268

6369
all: libpq.a$(shlib) c.h
6470

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp