]> granicus.if.org Git - postgresql/commit
Switch dependency order of libpgcommon and libpgport
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 18 Oct 2013 01:52:54 +0000 (21:52 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 18 Oct 2013 02:02:35 +0000 (22:02 -0400)
commitf39418e9b36987ce1dac0c55da1452e43ec46e15
tree501ed965e65b7d3c6b1f66c78372002b6f488e6f
parented632ab21e9c638328498a85ccf77452645943bb
Switch dependency order of libpgcommon and libpgport

Continuing 63f32f3416a8b4f8e057dc184e8e8eae734ccc8a, libpgcommon should
depend on libpgport, but not vice versa.  But wait_result_to_str() in
wait_error.c depends on pstrdup() in libpgcommon.  So move exec.c and
wait_error.c from libpgport to libpgcommon.  Also switch the link order
in the place that's actually used by the failing ecpg builds.

The function declarations have been left in port.h for now.  That should
perhaps be separated sometime.
src/Makefile.global.in
src/bin/initdb/nls.mk
src/bin/pg_config/nls.mk
src/bin/pg_ctl/nls.mk
src/bin/pg_dump/nls.mk
src/bin/psql/nls.mk
src/common/Makefile
src/common/exec.c [moved from src/port/exec.c with 99% similarity]
src/common/wait_error.c [moved from src/port/wait_error.c with 98% similarity]
src/port/Makefile
src/tools/msvc/Mkvcbuild.pm