]>
Commit | Line | Data |
---|---|---|
9151307e MB |
1 | diff -urN liferea-1.2.7/src/mozilla/Makefile.am liferea-1.2.7.new/src/mozilla/Makefile.am |
2 | --- liferea-1.2.7/src/mozilla/Makefile.am 2006-08-16 01:08:28.000000000 +0200 | |
bb2aed17 | 3 | +++ liferea-1.2.7.new/src/mozilla/Makefile.am 2007-02-24 21:51:01.000000000 +0100 |
9151307e MB |
4 | @@ -37,14 +37,20 @@ |
5 | ||
6 | ## the XulRunner support module | |
7 | ||
8 | +XULRUNNER_EXTRA_CFLAGS = \ | |
9 | + -I/usr/include/xulrunner/dom \ | |
10 | + -I/usr/include/xulrunner/necko \ | |
11 | + -I/usr/include/xulrunner/pref \ | |
12 | + -I/usr/include/xulrunner/webbrwsr | |
13 | + | |
14 | liblihtmlx_la_SOURCES = \ | |
15 | mozembed.c mozembed.h \ | |
16 | mozsupport.cpp mozsupport.h \ | |
17 | xulrunner.c | |
18 | ||
19 | liblihtmlx_la_LIBADD = $(PACKAGE_LIBS) $(XULRUNNER_LIBS) $(INTLLIBS) | |
20 | -liblihtmlx_la_CFLAGS = $(XULRUNNER_CFLAGS) $(PACKAGE_CFLAGS) -DXULRUNNER_HOME=\""$(XULRUNNER_HOME)\"" | |
21 | -liblihtmlx_la_CXXFLAGS = $(XULRUNNER_CFLAGS) $(PACKAGE_CFLAGS) | |
22 | +liblihtmlx_la_CFLAGS = $(XULRUNNER_CFLAGS) $(XULRUNNER_EXTRA_CFLAGS) $(PACKAGE_CFLAGS) -DXULRUNNER_HOME=\""$(XULRUNNER_HOME)\"" | |
23 | +liblihtmlx_la_CXXFLAGS = $(XULRUNNER_CFLAGS) $(XULRUNNER_EXTRA_CFLAGS) $(PACKAGE_CFLAGS) | |
24 | ||
25 | if PLATFORM_WIN32 | |
26 | ||
bb2aed17 MB |
27 | @@ -53,6 +59,6 @@ |
28 | ||
29 | else | |
30 | ||
31 | -liblihtmlx_la_LDFLAGS = -module -avoid-version | |
32 | +liblihtmlx_la_LDFLAGS = -R$(XULRUNNER_HOME) -module -avoid-version | |
33 | ||
34 | endif |