aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Conway <mail@joeconway.com>2004-08-05 03:11:55 +0000
committerJoe Conway <mail@joeconway.com>2004-08-05 03:11:55 +0000
commit39ec59f30fde11fede88a33e17357f794689310e (patch)
tree5f346a440354aeba2d169970c1f27cb35a208c7d
parentab6ee1f9fc7039b1e8d8ebf939da3fd55e73efad (diff)
downloadpostgresql-39ec59f30fde11fede88a33e17357f794689310e.tar.gz
postgresql-39ec59f30fde11fede88a33e17357f794689310e.zip
Restore behavior of --pgxs option to that of the original shell script.
-rw-r--r--src/bin/pg_config/pg_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_config/pg_config.c b/src/bin/pg_config/pg_config.c
index b3480ffb5ff..ff51b9427cb 100644
--- a/src/bin/pg_config/pg_config.c
+++ b/src/bin/pg_config/pg_config.c
@@ -17,7 +17,7 @@
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/pg_config/pg_config.c,v 1.3 2004/08/02 12:34:14 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_config/pg_config.c,v 1.4 2004/08/05 03:11:55 joe Exp $
*
*-------------------------------------------------------------------------
*/
@@ -141,7 +141,7 @@ main (int argc, char ** argv)
else if (strcmp(argv[i],"--pgxs") == 0)
{
get_pkglib_path(mypath,otherpath);
- strncat(otherpath, "/pgxs", MAXPGPATH-1);
+ strncat(otherpath, "/pgxs/src/makefiles/pgxs.mk", MAXPGPATH-1);
}
printf("%s\n",otherpath);