mtpaint: build with -Wl,--no-as-needed

This commit is contained in:
Leonid Pliushch 2020-12-11 16:36:00 +02:00 committed by Yaksh Bariya
parent cec2259dd8
commit 62db37c6be
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Simple paint program for creating icons and pixel based
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
TERMUX_PKG_VERSION=3.50
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
_COMMIT=5272e2b1e773c8e02ac3506b2d3bde82ad946b21
TERMUX_PKG_SRCURL=https://github.com/wjaguar/mtPaint/archive/${_COMMIT}.zip
TERMUX_PKG_SHA256=6ed73fc7ac18499c7e83c8077c85dfc0bf778f0663c051515da408e2fcfea512
@ -13,5 +13,5 @@ TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--mandir=${TERMUX_PREFIX}/share/man man GIF jpeg tiff cflags lcms2"
termux_step_pre_configure() {
export LDFLAGS="${LDFLAGS} -landroid-glob -landroid-shmem"
export LDFLAGS="${LDFLAGS} -Wl,--no-as-needed -landroid-glob -landroid-shmem"
}