summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2011-11-15 11:29:58 +0200
committerSimon Josefsson <simon@josefsson.org>2011-11-16 14:25:53 +0100
commitb774d6d772da3ee1a4d8b7d92a86ff7a52ec96b8 (patch)
tree30f41b0578a6426af85b5e92c5db17eec16529ce /extra
parent54e3f5b50c173083ef8e870d1b29321f06cc8873 (diff)
downloadgnutls-b774d6d772da3ee1a4d8b7d92a86ff7a52ec96b8.tar.gz
Add dependencies from the def files to the libraries that generate them
This avoids build failures in parallel builds, where builds could fail with this error message: make[2]: *** No rule to make target `libgnutls-26.def', needed by `all-am'. Stop. There is no direct rules that generate it, but it is generated as a byproduct when building libgnutls.la. By marking the la file as a dependency, make won't bail out by not finding the file until that dependency is built, and at that point, the def file exists. Signed-off-by: Simon Josefsson <simon@josefsson.org>
Diffstat (limited to 'extra')
-rw-r--r--extra/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/Makefile.am b/extra/Makefile.am
index cfcdbd5719..5d6a41b409 100644
--- a/extra/Makefile.am
+++ b/extra/Makefile.am
@@ -68,6 +68,7 @@ endif
if HAVE_LD_OUTPUT_DEF
libgnutls_openssl_la_LDFLAGS += \
-Wl,--output-def,libgnutls-openssl-$(DLL_VERSION).def
+libgnutls-openssl-$(DLL_VERSION).def: libgnutls-openssl.la
defexec_DATA += libgnutls-openssl-$(DLL_VERSION).def
endif
endif