Merge pull request #2181 from MilhouseVH/le90_swig3.0

swig: couple of buildsystem fixes
This commit is contained in:
Radostan Riedel 2017-11-06 10:37:30 +01:00 committed by GitHub
commit d4f7d8d397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -24,7 +24,7 @@ PKG_LICENSE="GPL"
PKG_SITE="http://libcec.pulse-eight.com/"
PKG_URL="https://github.com/Pulse-Eight/libcec/archive/$PKG_VERSION.tar.gz"
[ "$PROJECT" = "imx6" ] && PKG_PATCH_DIRS="${LINUX#imx6-}"
PKG_DEPENDS_TARGET="toolchain systemd lockdev p8-platform"
PKG_DEPENDS_TARGET="toolchain systemd lockdev p8-platform swig:host"
PKG_SECTION="system"
PKG_SHORTDESC="libCEC is an open-source dual licensed library designed for communicating with the Pulse-Eight USB - CEC Adaptor"
PKG_LONGDESC="libCEC is an open-source dual licensed library designed for communicating with the Pulse-Eight USB - CEC Adaptor."

View File

@ -29,7 +29,8 @@ PKG_SHORTDESC="SWIG: a software development tool that connects programs written
PKG_LONGDESC="SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages."
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_HOST="--with-pcre-prefix=$TOOLCHAIN \
PKG_CONFIGURE_OPTS_HOST="--program-suffix=3.0 \
--with-pcre-prefix=$TOOLCHAIN \
--with-boost=no \
--without-pcre \
--without-x \
@ -55,3 +56,7 @@ PKG_CONFIGURE_OPTS_HOST="--with-pcre-prefix=$TOOLCHAIN \
--without-r \
--without-go \
--without-d"
post_makeinstall_host() {
ln -sf swig3.0 $TOOLCHAIN/bin/swig
}