Patch to add dependency between client executes and static libraries

Started by 高增琦over 8 years ago2 messageshackers
Jump to latest
#1高增琦
pgf00a@gmail.com

Hi, all

The attached patch trying to add dependency between client executes
and static libraries.

As described in message:
/messages/by-id/CAFmBtr1GDF+Cpw+7SZF8jWGeazOd==ivRAg3rWhLaRXYCv83Vg@mail.gmail.com

I add a STLIBS variable in Makefiles as normal prerequisite.
Then, for example, if you update something in psqlscan.l, then make will
rebuild psql automatically.

Since I don't know if the la
​c​
k of dependency is problem or not,
this patch maybe useless.

Thanks,

--
GaoZengqi
pgf00a@gmail.com
zengqigao@gmail.com

Attachments:

0001-add-dependency-between-client-executes-and-static-li.patchapplication/octet-stream; name=0001-add-dependency-between-client-executes-and-static-li.patchDownload+82-37
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: 高增琦 (#1)
Re: Patch to add dependency between client executes and static libraries

=?UTF-8?B?6auY5aKe55Cm?= <pgf00a@gmail.com> writes:

The attached patch trying to add dependency between client executes
and static libraries.

If this is intended to solve the problem described in
<CAFmBtr1GDF%2BCpw%2B7SZF8jWGeazOd%3D%3DivRAg3rWhLaRXYCv83Vg%40mail.gmail.com>
then it should be added to that thread rather than starting a new one.

But please see the comment I just posted in that thread --- I don't
think we want to continue using order-only dependencies for these
libraries.

regards, tom lane