diff --git a/packages/devel/swig/package.mk b/packages/devel/swig/package.mk index 5a74f2bbf2..d47d5f95e3 100644 --- a/packages/devel/swig/package.mk +++ b/packages/devel/swig/package.mk @@ -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 +}