use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed...
[asterisk/asterisk.git] / Makefile
index e21b79a..84cf329 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -496,7 +496,7 @@ asterisk: include/asterisk/buildopts.h editline/libedit.a db1-ast/libdb1.a $(OBJ
        @$(CC) $(DEBUG) $(ASTOBJ) $(ASTLINK) $(OBJS) buildinfo.o $(LIBEDIT) db1-ast/libdb1.a $(LIBS)
 
 muted: muted.o
-muted: LDFLAGS+=$(AUDIO_LIBS)
+muted: LIBS+=$(AUDIO_LIBS)
 
 $(SUBDIRS_CLEAN_DEPEND):
        @$(MAKE) -C $(@:-clean-depend=) clean-depend