summaryrefslogtreecommitdiff
path: root/guile
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-06-11 11:24:34 +0200
committerSimon Josefsson <simon@josefsson.org>2007-06-11 11:24:34 +0200
commit5f982eee00babfcf3c3f7d5be263fdec78127a55 (patch)
tree3ef39fb4da48bc8976ea525bc6373c077b748ae1 /guile
parentd3a122bf7c418e6803d152acc1253804395c45fc (diff)
downloadgnutls-5f982eee00babfcf3c3f7d5be263fdec78127a55.tar.gz
Use _LIBADD for libraries, not _LDFLAGS.
Diffstat (limited to 'guile')
-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)