X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device-src%2FMakefile.am;h=73cf6585fe7b807296f21f6899e23a45207a6959;hb=refs%2Ftags%2Fdebian%2F3.3.1-2;hp=2f0bf727bd67e310bc83edd7b23c08bcf5ebd252;hpb=cb38d19aa8dc2c5d380ab2d7ad9724a5d99eee5d;p=debian%2Famanda diff --git a/device-src/Makefile.am b/device-src/Makefile.am index 2f0bf72..73cf658 100644 --- a/device-src/Makefile.am +++ b/device-src/Makefile.am @@ -15,7 +15,7 @@ if GCC_COMPILER # ndmp-device.c includes files with old-skool prototypes, so: AM_CFLAGS += -Wno-strict-prototypes endif -AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS) +AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS) $(AS_NEEDED_FLAGS) sbin_PROGRAMS = @@ -27,7 +27,7 @@ sbin_SCRIPTS = $(SCRIPTS_PERL) ## libamdevice.la amlib_LTLIBRARIES = libamdevice.la -libamdevice_la_LDFLAGS = -release $(VERSION) +libamdevice_la_LDFLAGS = -release $(VERSION) $(AS_NEEDED_FLAGS) libamdevice_la_SOURCES = \ property.c \ device.c \