Merge pull request #3177 from vpeter4/lib_pic

libxslt, libssh2: build with -fPIC
This commit is contained in:
CvH 2018-12-27 19:20:44 +01:00 committed by GitHub
commit ce07c47a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ PKG_SITE="https://www.libssh2.org"
PKG_URL="https://www.libssh2.org/download/libssh2-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain openssl"
PKG_LONGDESC="A library implementing the SSH2 protocol"
PKG_BUILD_FLAGS="+pic"
PKG_CMAKE_OPTS_TARGET="-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTING=OFF"

View File

@ -11,6 +11,7 @@ PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="libxml2:host"
PKG_DEPENDS_TARGET="toolchain libxml2"
PKG_LONGDESC="A XSLT C library."
PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_HOST=" ac_cv_header_ansidecl_h=no \
ac_cv_header_xlocale_h=no \