Commit 39ec59f3 authored by Joe Conway's avatar Joe Conway

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

parent ab6ee1f9
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* *
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * 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) ...@@ -141,7 +141,7 @@ main (int argc, char ** argv)
else if (strcmp(argv[i],"--pgxs") == 0) else if (strcmp(argv[i],"--pgxs") == 0)
{ {
get_pkglib_path(mypath,otherpath); get_pkglib_path(mypath,otherpath);
strncat(otherpath, "/pgxs", MAXPGPATH-1); strncat(otherpath, "/pgxs/src/makefiles/pgxs.mk", MAXPGPATH-1);
} }
printf("%s\n",otherpath); printf("%s\n",otherpath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment