Skip to content

Commit e795b56

Browse files
committed
ecpg requires libpq; add Makefile rules to require libpq to be built
first. Alvaro Herrera
1 parent 952fe78 commit e795b56

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/interfaces/ecpg/ecpglib/Makefile

+8-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
66
# Portions Copyright (c) 1994, Regents of the University of California
77
#
8-
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.62 2009/01/14 14:54:35 petere Exp $
8+
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.63 2009/02/07 17:17:34 momjian Exp $
99
#
1010
#-------------------------------------------------------------------------
1111

@@ -42,7 +42,13 @@ ifeq ($(PORTNAME), win32)
4242
SHLIB_LINK += -lshfolder
4343
endif
4444

45-
all: all-lib
45+
all: libpq pgtypeslib all-lib
46+
47+
libpq:
48+
$(MAKE) -C $(top_builddir)/src/interfaces/libpq all
49+
50+
pgtypeslib:
51+
$(MAKE) -C $(top_builddir)/src/interfaces/ecpg/pgtypeslib all
4652

4753
# Shared library stuff
4854
include $(top_srcdir)/src/Makefile.shlib

0 commit comments

Comments
 (0)