Restore behavior of --pgxs option to that of the original shell script.

This commit is contained in:
Joe Conway 2004-08-05 03:11:55 +00:00
parent ab6ee1f9fc
commit 39ec59f30f

View File

@ -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);