|
5 | 5 | # Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group |
6 | 6 | # Portions Copyright (c) 1994, Regents of the University of California |
7 | 7 | # |
8 | | -# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.59 2008/04/07 14:15:58 petere Exp $ |
| 8 | +# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.60 2008/05/17 20:23:40 tgl Exp $ |
9 | 9 | # |
10 | 10 | #------------------------------------------------------------------------- |
11 | 11 |
|
@@ -33,7 +33,7 @@ ifneq ($(PORTNAME), win32) |
33 | 33 | OBJS += thread.o |
34 | 34 | endif |
35 | 35 |
|
36 | | -SHLIB_LINK = -L../pgtypeslib -lpgtypes$(libpq)-lm$(PTHREAD_LIBS) |
| 36 | +SHLIB_LINK = -L../pgtypeslib -lpgtypes$(libpq)$(filter -lintl -lm,$(LIBS))$(PTHREAD_LIBS) |
37 | 37 |
|
38 | 38 | SHLIB_EXPORTS = exports.txt |
39 | 39 |
|
|