Make sure to compile against system nspr too
This commit is contained in:
parent
7813ea318a
commit
15c4843bbb
@ -56,6 +56,8 @@ else
|
||||
|
||||
# xulrunner 1.8
|
||||
|
||||
PKG_CHECK_MODULES(NSPR, nspr)
|
||||
|
||||
PKG_CHECK_MODULES(GECKO, [xulrunner-gtkmozembed >= 1.8],
|
||||
[have_gecko=true; mozpackage=xulrunner],
|
||||
[
|
||||
|
@ -4,6 +4,7 @@ INCLUDES = \
|
||||
$(PYCAIRO_CFLAGS) \
|
||||
$(LIB_CFLAGS) \
|
||||
$(GECKO_CFLAGS) \
|
||||
$(NSPR_CFLAGS) \
|
||||
-I$(MOZILLA_INCLUDE_DIR)/gtkembedmoz \
|
||||
-I$(top_srcdir)/lib/src
|
||||
|
||||
@ -16,6 +17,7 @@ _sugar_la_LIBADD = \
|
||||
$(LIB_LIBS) \
|
||||
$(PYCAIRO_LIBS) \
|
||||
$(GECKO_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(XPCOMGLUE_LIBS) \
|
||||
$(top_builddir)/lib/src/libsugarprivate.la
|
||||
|
||||
|
@ -2,6 +2,7 @@ libsugarprivate_la_CPPFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
$(LIB_CFLAGS) \
|
||||
$(GECKO_CFLAGS) \
|
||||
$(NSPR_CFLAGS) \
|
||||
-I$(MOZILLA_INCLUDE_DIR)/dom \
|
||||
-I$(MOZILLA_INCLUDE_DIR)/exthandler \
|
||||
-I$(MOZILLA_INCLUDE_DIR)/gtkembedmoz \
|
||||
@ -18,6 +19,7 @@ noinst_LTLIBRARIES = libsugarprivate.la
|
||||
libsugarprivate_la_LIBADD = \
|
||||
$(LIB_LIBS) \
|
||||
$(GECKO_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
-lgstinterfaces-0.10 \
|
||||
-lgstaudio-0.10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user