1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

Fix contrib/xml makefile to not override CFLAGS.

This commit is contained in:
Tom Lane
2008-05-08 17:12:08 +00:00
parent f68173692f
commit d42f212573

View File

@@ -1,4 +1,4 @@
# $PostgreSQL: pgsql/contrib/xml/Makefile,v 1.10 2004/11/04 06:09:23 neilc Exp $ # $PostgreSQL: pgsql/contrib/xml/Makefile,v 1.10.4.1 2008/05/08 17:12:08 tgl Exp $
MODULE_big = pgxml_dom MODULE_big = pgxml_dom
OBJS = pgxml_dom.o OBJS = pgxml_dom.o
@@ -6,7 +6,7 @@ SHLIB_LINK = -lxml2
DATA_built = pgxml_dom.sql DATA_built = pgxml_dom.sql
DOCS = README.xml DOCS = README.xml
override CFLAGS += $(shell xml2-config --cflags) PG_CPPFLAGS := $(shell xml2-config --cflags)
ifdef USE_PGXS ifdef USE_PGXS
PGXS = $(shell pg_config --pgxs) PGXS = $(shell pg_config --pgxs)