summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirefox-mozconfig1
-rw-r--r--firefox.spec5
2 files changed, 5 insertions, 1 deletions
diff --git a/firefox-mozconfig b/firefox-mozconfig
index 70f679a..428db49 100755
--- a/firefox-mozconfig
+++ b/firefox-mozconfig
@@ -23,7 +23,6 @@ ac_add_options --enable-pango
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --enable-startup-notification
-ac_add_options --with-libxul-sdk=/usr/lib64/xulrunner-sdk-1.9pre
ac_add_options --enable-libxul
export BUILD_OFFICIAL=1
diff --git a/firefox.spec b/firefox.spec
index cc57aa1..689ed90 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -107,6 +107,11 @@ compliance, performance and portability.
%if %{official_branding}
%{__cat} %{SOURCE11} >> .mozconfig
%endif
+%{__cat} %{SOURCE11} >> .mozconfig
+
+# Set up SDK path
+echo "ac_add_options --with-libxul-sdk=\
+`pkg-config --variable=sdkdir xulrunner-xpcom`" >> .mozconfig
# set up our default bookmarks
#%{__cp} %{default_bookmarks_file} $RPM_BUILD_DIR/mozilla/profile/defaults/bookmarks.html
bgstack15