File gnome-web-photo-libxul.patch of Package gnome-web-photo

=== modified file 'm4/libxul.m4'
--- m4/libxul.m4	2008-05-21 15:20:34 +0000
+++ m4/libxul.m4	2008-05-21 15:26:56 +0000
@@ -57,7 +57,7 @@
 
 # FIXMEchpe: this isn't right. The pc file seems buggy, but until
 # I can figure this out, do it like this:
-libxul_cv_libdir="$($PKG_CONFIG --variable=sdkdir $libxul_cv_libxul_pkg)/bin"
+libxul_cv_libdir="$($PKG_CONFIG --variable=libdir $libxul_cv_libxul_pkg)"
 
 libxul_cv_includes="$($PKG_CONFIG --cflags-only-I libxul-unstable libxul)"
 
@@ -75,7 +75,7 @@
 
 # Can't use the value from the .pc file, since it seems buggy
 # Until I can figure it out, do this instead
-LIBXUL_LIBS="-L${libxul_cv_sdkdir}/lib -lxpcomglue_s -L${libxul_cv_sdkdir}/bin -lxul -lxpcom"
+LIBXUL_LIBS="-L${libxul_cv_sdkdir}/lib -lxpcomglue_s -L${libxul_cv_sdkdir}/bin -lxul -lxpcom -lmozjs"
 
 # ***********************
 # Check for -fshort-wchar