X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=amar-src%2FMakefile.am;h=8d4ce246214488f2fa3f606c6b349a5d84368537;hb=deb1d6847fe421fbab7d1ede23b5a1d8c83027a4;hp=92f2c8822437a38b1e54d5fde024ea70870b89fe;hpb=79cdc4b6ea8848b21ba4a0e7d2fd3bc401e0bebe;p=debian%2Famanda diff --git a/amar-src/Makefile.am b/amar-src/Makefile.am index 92f2c88..8d4ce24 100644 --- a/amar-src/Makefile.am +++ b/amar-src/Makefile.am @@ -1,7 +1,6 @@ # Makefile for Amanda archive library include $(top_srcdir)/config/automake/vars.am -include $(top_srcdir)/config/automake/scripts.am include $(top_srcdir)/config/automake/installperms.am include $(top_srcdir)/config/automake/precompile.am @@ -10,7 +9,7 @@ INCLUDES = -I$(top_builddir)/common-src \ -I$(top_srcdir)/gnulib AM_CFLAGS = $(AMANDA_WARNING_CFLAGS) -AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS) +AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS) $(AS_NEEDED_FLAGS) LINT=@AMLINT@ LINTFLAGS=@AMLINTFLAGS@ @@ -18,7 +17,7 @@ LINTFLAGS=@AMLINTFLAGS@ amlib_LTLIBRARIES = libamar.la libamar_la_SOURCES = amar.c -libamar_la_LDFLAGS = -release $(VERSION) +libamar_la_LDFLAGS = -release $(VERSION) $(AS_NEEDED_FLAGS) libamar_la_LIBADD = ../common-src/libamanda.la noinst_HEADERS = \