[FFmpeg-cvslog] r12454 - trunk/configure
mru
subversion
Sat Mar 15 20:24:08 CET 2008
Author: mru
Date: Sat Mar 15 20:24:08 2008
New Revision: 12454
Log:
fix DEPEND_CMD for out of tree builds
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sat Mar 15 20:24:08 2008
@@ -935,7 +935,7 @@ SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMA
LIB_INSTALL_EXTRA_CMD='$(RANLIB) "$(LIBDIR)/$(LIBNAME)"'
# gcc stupidly only outputs the basename of targets with -MM
-DEPEND_CMD='$(CC) -MM $(CFLAGS) $(filter-out %.h,$^) | sed "s,[0-9a-z._-]*: \([a-z0-9]*/\).*,\1&,"'
+DEPEND_CMD='$(CC) -MM $(CFLAGS) $(filter-out %.h,$^) | sed "s,[0-9a-z._-]*: \($(SRC_DIR)/\)*\([a-z0-9]*/\)[^/]* ,\2&,"'
VHOOKDEPEND_CMD='$(CC) -MM $(VHOOKCFLAGS) $(filter-out %.h,$^) | sed "s,^\([a-z]\),vhook/\1,"'
# find source path
More information about the ffmpeg-cvslog
mailing list