diff options
| author | Peter Eisentraut | 2008-12-11 07:34:09 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2008-12-11 07:34:09 +0000 |
| commit | 218b4e8dd86016f82c3a71dec9d339240e866505 (patch) | |
| tree | 1406076a9d31827ee9de1b04e16f4637d3fc186e /src/Makefile.shlib | |
| parent | 55368223cde4f19b4cd97eff7ea82b4a85a7a04c (diff) | |
Append major version number and for libraries soname major version number
to the gettext domain name, to simplify parallel installations.
Also, rename set_text_domain() to pg_bindtextdomain(), because that is what
it does.
Diffstat (limited to 'src/Makefile.shlib')
| -rw-r--r-- | src/Makefile.shlib | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index f6136a7a87..37a99dbf95 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -6,7 +6,7 @@ # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION -# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.118 2008/11/24 11:59:37 petere Exp $ +# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.119 2008/12/11 07:34:07 petere Exp $ # #------------------------------------------------------------------------- @@ -115,6 +115,10 @@ endif # Try to keep the sections in some kind of order, folks... override CFLAGS += $(CFLAGS_SL) +ifdef SO_MAJOR_VERSION +# libraries ought to use this to refer to versioned gettext domain names +override CPPFLAGS += -DSO_MAJOR_VERSION=$(SO_MAJOR_VERSION) +endif ifeq ($(PORTNAME), aix) ifdef SO_MAJOR_VERSION |
