From 0da741f10be85f5dcbf05ee2be23c7c86988bc0d Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 19 Dec 2007 16:43:29 +0000 Subject: fixed sdk path --- firefox-mozconfig | 1 - firefox.spec | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit