From 02d8ae3707dee8789257f0981da909e70b7be702 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Wed, 20 Mar 2019 02:15:11 +0200 Subject: [PATCH] wireguard-tools: make sure that all binaries have DT_RUNPATH --- packages/wireguard-tools/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/wireguard-tools/build.sh b/packages/wireguard-tools/build.sh index b6fb18e45..797e09a03 100644 --- a/packages/wireguard-tools/build.sh +++ b/packages/wireguard-tools/build.sh @@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.wireguard.com TERMUX_PKG_DESCRIPTION="Tools for the WireGuard secure network tunnel" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_VERSION=0.0.20190227 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=fcdb26fd2692d9e1dee54d14418603c38fbb973a06ce89d08fbe45292ff37f79 TERMUX_PKG_SRCURL=https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$TERMUX_PKG_VERSION.tar.xz TERMUX_PKG_DEPENDS="libmnl, tsu" @@ -10,6 +11,6 @@ TERMUX_PKG_EXTRA_MAKE_ARGS=" -C src/tools WITH_BASHCOMPLETION=yes WITH_WGQUICK=n termux_step_post_make_install() { cd src/tools/wg-quick - $CC $CFLAGS -DWG_CONFIG_SEARCH_PATHS="\"$TERMUX_ANDROID_HOME/.wireguard $TERMUX_PREFIX/etc/wireguard /data/misc/wireguard /data/data/com.wireguard.android/files\"" -o wg-quick android.c + $CC $CFLAGS $LDFLAGS -DWG_CONFIG_SEARCH_PATHS="\"$TERMUX_ANDROID_HOME/.wireguard $TERMUX_PREFIX/etc/wireguard /data/misc/wireguard /data/data/com.wireguard.android/files\"" -o wg-quick android.c install -m 0755 wg-quick $TERMUX_PREFIX/bin }