Browse Source

requires python2

master
parent
commit
4ba3e9c3af
  1. 6
      node/node.spec

6
node/node.spec

@ -36,7 +36,7 @@ Class: PLUS
Group: Web
License: MIT/BSD
Version: %{V_opkg}
Release: 20190130
Release: 20190210
# package options
%option with_icu yes
@ -47,7 +47,7 @@ Source1: node.c
Patch0: node.patch
# build information
BuildPreReq: OpenPKG, openpkg >= 20160101, make, gcc, gcc::with_cxx = yes, python, pkgconfig
BuildPreReq: OpenPKG, openpkg >= 20160101, make, gcc, gcc::with_cxx = yes, python2, pkgconfig
PreReq: OpenPKG, openpkg >= 20160101
BuildPreReq: openssl11, libexecinfo, zlib, ares, libuv, nghttp2
PreReq: openssl11, libexecinfo, zlib, ares, libuv, nghttp2
@ -98,7 +98,7 @@ PreReq: icu
CPPFLAGS="%{l_cppflags openssl11 .}" \
LDFLAGS="%{l_ldflags openssl11 .}" \
LIBS="$libs" \
%{l_prefix}/bin/python ./configure \
%{l_prefix}/bin/python2 ./configure \
--prefix=%{l_prefix} \
--shared-openssl \
--shared-openssl-includes=%{l_prefix}/include/openssl11 \

Loading…
Cancel
Save