[SCM] liblivemedia/master: Only rebuild the four libraries with PIC, not the entire source four times.

fabian-guest at users.alioth.debian.org fabian-guest at users.alioth.debian.org
Tue Mar 6 10:11:39 UTC 2012


The following commit has been merged in the master branch:
commit d11d072283ee53dd03f19e82f3206f1a18cc87db
Author: Fabian Greffrath <fabian+debian at greffrath.com>
Date:   Tue Mar 6 11:12:04 2012 +0100

    Only rebuild the four libraries with PIC, not the entire source four times.

diff --git a/debian/rules b/debian/rules
index 095b2cf..7d20bd6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,7 @@ build-stamp: configure-stamp
 	cp debian/upstream.changelog changelog.txt
 	for f in BasicUsageEnvironment \
 	            UsageEnvironment liveMedia groupsock; do \
-	  CFLAGS="$(CFLAGS) -fPIC -DPIC" $(MAKE) || exit 1; \
+	  CFLAGS="$(CFLAGS) -fPIC -DPIC" $(MAKE) -C $${f} || exit 1; \
 	  mv "$${f}/lib$${f}.a" "$${f}/lib$${f}_pic.a"; \
 	done
 	$(MAKE) clean

-- 
liblivemedia packaging



More information about the pkg-multimedia-commits mailing list