[packages/openh264] - use pkg-config to get xulrunner include dir

qboosh qboosh at pld-linux.org
Sat Apr 11 10:18:35 CEST 2015


commit b1033ce29acb4a73c60db847819285eeb526e9d6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 11 10:20:14 2015 +0200

    - use pkg-config to get xulrunner include dir

 openh264.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openh264.spec b/openh264.spec
index 3a963f0..085f8d3 100644
--- a/openh264.spec
+++ b/openh264.spec
@@ -79,7 +79,7 @@ opartych na Gecko (takich jak Firefox/Iceweasel 33+).
 %patch0 -p1
 
 %if %{with xulrunner}
-ln -s /usr/include/xulrunner gmp-api
+ln -s $(pkg-config --variable=includedir mozilla-plugin) gmp-api
 %endif
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openh264.git/commitdiff/b1033ce29acb4a73c60db847819285eeb526e9d6



More information about the pld-cvs-commit mailing list