Commit 8b1854d3 authored by Alain Takoudjou's avatar Alain Takoudjou

component/libgit3: prefer python3 for build tests

parent 70a1c6b5
...@@ -17,6 +17,7 @@ md5sum = 9f4ca15249e703ab88cbc929187750cd ...@@ -17,6 +17,7 @@ md5sum = 9f4ca15249e703ab88cbc929187750cd
version = 1.1.0 version = 1.1.0
shared = true shared = true
configure-command = configure-command =
sed -i '1s/^/set(Python_ADDITIONAL_VERSIONS 3 2.7)\n /' tests/CMakeLists.txt &&
cmake cmake
configure-options = configure-options =
-Bbuild -Bbuild
...@@ -29,5 +30,5 @@ configure-options = ...@@ -29,5 +30,5 @@ configure-options =
make-options = -C build make-options = -C build
environment = environment =
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig:${xz-utils:location}/lib/pkgconfig PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig:${xz-utils:location}/lib/pkgconfig
PATH=${python:location}/bin:${pkgconfig:location}/bin:${cmake:location}/bin:%(PATH)s PATH=${python3:location}/bin:${pkgconfig:location}/bin:${cmake:location}/bin:%(PATH)s
LDFLAGS=-L${openssl-1.0:location}/lib -Wl,-rpath=${openssl:location}/lib -L${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib LDFLAGS=-L${openssl-1.0:location}/lib -Wl,-rpath=${openssl:location}/lib -L${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib
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