chiark / gitweb /
priv/Makefile.am: Hack `libpriv' so that parallel builds work.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 18 Jan 2012 22:54:56 +0000 (22:54 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 18 Jan 2012 22:58:37 +0000 (22:58 +0000)
commit2bbdcefb05942b804b0e4097c14619bd9789e89d
tree47d21068f6e5d2bda238c1c3d44d406db3548e67
parentc85c17123f9713266341520e86e0acb31fad4031
priv/Makefile.am: Hack `libpriv' so that parallel builds work.

The library `libpriv.a' is built here, but the `libpriv' variable is set
to `$(top_builddir)/priv/libpriv.a' instead, which doesn't match.  The
result is that a parallel build might try to link the helper before
building the library, find that the library (found via the variable)
doesn't exist, and fail.

Fix this by hardwiring the library name locally, since we know where
it's meant to be.  I'd override the variable value but Automake is
petty and prints warnings if I do that.
priv/Makefile.am