1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00

Add pkg-config files for libpq and ecpg libraries

This will hopefully be easier to use than pg_config for users who are
already used to the pkg-config interface.  It also works better for
multi-arch installations.

reviewed by Tom Lane
This commit is contained in:
Peter Eisentraut
2013-03-31 16:58:40 -04:00
parent 3780fc679c
commit 64f890905f
6 changed files with 62 additions and 3 deletions

View File

@ -32,6 +32,8 @@ LIBS := $(filter-out -lpgport, $(LIBS))
OBJS= informix.o $(filter snprintf.o, $(LIBOBJS))
PKG_CONFIG_REQUIRES_PRIVATE = libecpg libpgtypes
all: all-lib
.PHONY: submake-ecpglib submake-pgtypeslib

View File

@ -43,6 +43,8 @@ ifeq ($(PORTNAME), win32)
SHLIB_LINK += -lshfolder
endif
PKG_CONFIG_REQUIRES_PRIVATE = libpq libpgtypes
all: all-lib
.PHONY: submake-pgtypeslib