1836a478cf
- Add patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=214092 (which is really http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6614100). - Some jiggery-pokery for spaces in SWT paths for buildagainstxulrunner patch.
25 lines
1016 B
Diff
25 lines
1016 B
Diff
### Eclipse Workspace Patch 1.0
|
|
#P org.eclipse.swt
|
|
Index: Eclipse_SWT_PI/gtk/library/build.sh
|
|
===================================================================
|
|
RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_PI/gtk/library/build.sh,v
|
|
retrieving revision 1.46
|
|
diff -u -r1.46 build.sh
|
|
--- Eclipse_SWT_PI/gtk/library/build.sh 22 Oct 2007 21:18:51 -0000 1.46
|
|
+++ Eclipse_SWT_PI/gtk/library/build.sh 9 Apr 2008 19:45:37 -0000
|
|
@@ -103,8 +103,14 @@
|
|
export MOZILLA_INCLUDES
|
|
export MOZILLA_LIBS
|
|
MAKE_MOZILLA=make_mozilla
|
|
+ elif [ x`pkg-config --exists libxul && echo YES` = "xYES" ]; then
|
|
+ MOZILLA_INCLUDES=`pkg-config --cflags libxul`
|
|
+ MOZILLA_LIBS=`pkg-config --libs libxul`
|
|
+ export MOZILLA_INCLUDES
|
|
+ export MOZILLA_LIBS
|
|
+ MAKE_MOZILLA=make_mozilla
|
|
else
|
|
- echo "Mozilla/XPCOM or Firefox/XPCOM libraries not found:"
|
|
+ echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or xulrunner/XPCOM"
|
|
echo " *** Mozilla embedding support will not be compiled."
|
|
fi
|
|
fi
|