]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: centralize use of extra Cygwin LDFLAGS
authorEric Blake <eblake@redhat.com>
Sat, 6 Aug 2016 13:43:06 +0000 (07:43 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 6 Aug 2016 13:50:19 +0000 (07:50 -0600)
commitf33f03d015d9b285c0fc3f61bdf1e371d4417c83
tree47e4c996b1a5f407ecc634d3c423837e4ccbc75d
parentaa760cd522f514b05f3cc5f17a5845f15d0a011f
build: centralize use of extra Cygwin LDFLAGS

The build was failing with:

  CCLD     lockd.la
libtool:   error: can't build i686-pc-cygwin shared library unless -no-undefined is specified

Rather than add yet another $(CYGWIN_EXTRA_LDFLAGS) to all the
impacted *_la_LDFLAGS, it was easier to just pull the extra
flags into ALL libraries via AM_LDFLAGS.

Then, fix lockd_la_LDFLAGS to include AM_LDFLAGS, like all other
libraries.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/Makefile.am