diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-05-17 20:23:40 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-05-17 20:23:40 +0000 |
commit | 5248e02b508e8d0ce5a7ccf8136c005c55caaeef (patch) | |
tree | f78bfd700a7a894002f933a77d01d88037d0dccb /src | |
parent | 55de145d1cf6f1d1b940cef5526cf106a2ec25f1 (diff) | |
download | postgresql-5248e02b508e8d0ce5a7ccf8136c005c55caaeef.tar.gz postgresql-5248e02b508e8d0ce5a7ccf8136c005c55caaeef.zip |
ecpglib needs to link with libintl if it's in use.
Per buildfarm results.
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/ecpg/ecpglib/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/Makefile b/src/interfaces/ecpg/ecpglib/Makefile index d93be73b870..d1c40ec0b41 100644 --- a/src/interfaces/ecpg/ecpglib/Makefile +++ b/src/interfaces/ecpg/ecpglib/Makefile @@ -5,7 +5,7 @@ # Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.59 2008/04/07 14:15:58 petere Exp $ +# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.60 2008/05/17 20:23:40 tgl Exp $ # #------------------------------------------------------------------------- @@ -33,7 +33,7 @@ ifneq ($(PORTNAME), win32) OBJS += thread.o endif -SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq) -lm $(PTHREAD_LIBS) +SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq) $(filter -lintl -lm, $(LIBS)) $(PTHREAD_LIBS) SHLIB_EXPORTS = exports.txt |