This partially reverts commit b139bbc514.
We need to build libgit2 with -fPIC.
22 lines
433 B
PHP
22 lines
433 B
PHP
SUMMARY = "the Git linkable library"
|
|
HOMEPAGE = "http://libgit2.github.com/"
|
|
LICENSE = "GPL-2.0-with-GCC-exception"
|
|
|
|
DEPENDS = "curl openssl zlib libssh2"
|
|
|
|
inherit cmake
|
|
|
|
# CLAR = tests, needs python-native
|
|
EXTRA_OECMAKE = "\
|
|
-DTHREADSAFE=ON \
|
|
-DBUILD_CLAR=OFF \
|
|
-DSHA1_TYPE="builtin" \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DBUILD_SHARED_LIBS=OFF \
|
|
-DBUILD_EXAMPLES=OFF \
|
|
"
|
|
|
|
CFLAGS_append .= " -fPIC"
|
|
|
|
BBCLASSEXTEND = "native"
|