summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guile/src/Makefile.am13
1 files changed, 7 insertions, 6 deletions
diff --git a/guile/src/Makefile.am b/guile/src/Makefile.am
index 0c710e816b..18b2f9b04c 100644
--- a/guile/src/Makefile.am
+++ b/guile/src/Makefile.am
@@ -46,17 +46,18 @@ GNULIB_CFLAGS = -I$(top_builddir)/lgl -I$(top_srcdir)/lgl
libguile_gnutls_v_0_la_SOURCES = core.c errors.c utils.c
libguile_gnutls_v_0_la_CFLAGS = \
$(AM_CFLAGS) $(GNULIB_CFLAGS) $(GUILE_CFLAGS)
-libguile_gnutls_v_0_la_LDFLAGS = \
- $(GNULIB_LIBS) $(GNUTLS_CORE_LIBS) $(GUILE_LDFLAGS)
+libguile_gnutls_v_0_la_LDFLAGS = $(GUILE_LDFLAGS)
+libguile_gnutls_v_0_la_LIBADD = \
+ $(GNUTLS_CORE_LIBS) $(GNULIB_LIBS)
libguile_gnutls_extra_v_0_la_SOURCES = extra.c
libguile_gnutls_extra_v_0_la_CFLAGS = \
$(AM_CFLAGS) $(GNULIB_CFLAGS) $(GUILE_CFLAGS)
-libguile_gnutls_extra_v_0_la_LDFLAGS = \
- $(GNULIB_LIBS) \
- $(builddir)/libguile-gnutls-v-0.la \
+libguile_gnutls_extra_v_0_la_LDFLAGS = $(GUILE_LDFLAGS)
+libguile_gnutls_extra_v_0_la_LIBADD = \
$(GNUTLS_CORE_LIBS) $(GNUTLS_EXTRA_LIBS) \
- $(GUILE_LDFLAGS)
+ $(GNULIB_LIBS) \
+ $(builddir)/libguile-gnutls-v-0.la
AM_CPPFLAGS = -I$(top_builddir) -I$(builddir)