[vlc-commits] contrib: live555: Fix .pc generation

Hugo Beauzée-Luyssen git at videolan.org
Tue Jan 24 11:35:33 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jan 24 11:24:35 2017 +0100| [55d9373e7d7c0ef112d803c0467b56f0fd048dfa] | committer: Hugo Beauzée-Luyssen

contrib: live555: Fix .pc generation

Without a valid prefix, the headers were looked for in /include

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=55d9373e7d7c0ef112d803c0467b56f0fd048dfa
---

 contrib/src/live555/rules.mak | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/src/live555/rules.mak b/contrib/src/live555/rules.mak
index 687a83b..ccf97c3 100644
--- a/contrib/src/live555/rules.mak
+++ b/contrib/src/live555/rules.mak
@@ -75,7 +75,8 @@ SUBDIRS=groupsock liveMedia UsageEnvironment BasicUsageEnvironment
 	cd $< && for subdir in $(SUBDIRS); do \
 		echo "PREFIX = $(PREFIX)" >> $$subdir/Makefile.head && \
 		echo "LIBDIR = $(PREFIX)/lib" >> $$subdir/Makefile.head ; done
-	cd $< && echo "LIBDIR = $(PREFIX)/lib" >> Makefile.head
+	cd $< && echo "LIBDIR = $(PREFIX)/lib" >> Makefile.head && \
+		echo "PREFIX = $(PREFIX)" >> Makefile.head
 	cd $< && ./genMakefiles $(LIVE_TARGET)
 	cd $< && for subdir in $(SUBDIRS); do $(MAKE) $(HOSTVARS) -C $$subdir; done
 	cd $< && for subdir in $(SUBDIRS); do $(MAKE) $(HOSTVARS) -C $$subdir install; done



More information about the vlc-commits mailing list