Commit 0f0859f3 authored by Dmitry Rozhkov's avatar Dmitry Rozhkov

Use system nspr

parent c4cc4223
......@@ -44,7 +44,7 @@ IDL_DIR=$OBJ_PATH/dist/idl
ENGINE_CFLAGS="-I$OBJ_PATH/dist/include -I$OBJ_PATH/dist/include/nspr -I$OBJ_PATH/dist/include/mozilla -I$OBJ_PATH/dist/include/dom"
ENGINE_LIBS="-L$OBJ_PATH/dist/sdk/lib -lxpcomglue_s -lxul -lxpcom -lmozalloc"
else
PKG_CHECK_MODULES(ENGINE, libxul mozilla-nspr,
PKG_CHECK_MODULES(ENGINE, libxul nspr,
[
SDK_DIR=`pkg-config --variable=sdkdir libxul`
IDL_DIR=`pkg-config --variable=idldir libxul`
......
......@@ -9,6 +9,7 @@ License: Mozilla License
URL: http://www.mozilla.com
Source0: %{name}-%{version}.tar.bz2
BuildRequires: pkgconfig(libxul)
BuildRequires: pkgconfig(nspr)
BuildRequires: python
%description
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment