Files
Doug Goldstein b454d74256 Revert "libgit2: remove obsolete items from common inc"
This partially reverts commit b139bbc514.
We need to build libgit2 with -fPIC.
2016-12-08 14:35:16 -06:00

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"