changeset 3598:9fd97ab30fdc trunk

make audacious be re-linked if a dependent library has been rebuilt.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sun, 23 Sep 2007 01:34:10 +0900
parents 336dd10930d1
children 24ae9b303a9d
files buildsys.mk.in src/audacious/Makefile
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/buildsys.mk.in	Sat Sep 22 11:25:51 2007 +0200
+++ b/buildsys.mk.in	Sun Sep 23 01:34:10 2007 +0900
@@ -98,7 +98,7 @@
 
 pre-depend:
 
-${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS}
+${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS} ${LIB_DEPS}
 	${LINK_STATUS}
 	if ${LD} -o $@ ${OBJS} ${LDFLAGS} ${LIBS}; then \
 		${LINK_OK}; \
--- a/src/audacious/Makefile	Sat Sep 22 11:25:51 2007 +0200
+++ b/src/audacious/Makefile	Sun Sep 23 01:34:10 2007 +0900
@@ -157,6 +157,8 @@
 
 CLEAN = build_stamp.c
 
+LIB_DEPS += ../libguess/libguess.a
+
 include ../../buildsys.mk
 
 LDFLAGS += ${EXPORTDYN}