]> granicus.if.org Git - postgresql/commitdiff
Restore behavior of --pgxs option to that of the original shell script.
authorJoe Conway <mail@joeconway.com>
Thu, 5 Aug 2004 03:11:55 +0000 (03:11 +0000)
committerJoe Conway <mail@joeconway.com>
Thu, 5 Aug 2004 03:11:55 +0000 (03:11 +0000)
src/bin/pg_config/pg_config.c

index b3480ffb5ff685e35dad756f4980fb1d16361f72..ff51b9427cb08d65daa690229c940c0bf8904c9b 100644 (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);